Reputation: 97
I am installing Inventory Items module in Sugar CRM and have the same issue as mentioned here I figured out that maybe module which I am using is pretty old and its not creating the database properly. Any help ?
Upvotes: 0
Views: 130
Reputation: 5683
Change line no 275 to 279
in modules/Accounts/Account.php
to
if( $result = $this->db->query( $sql ) )
{
$row = $this->db->fetchByAssoc( $result );
$this->square_feet = $row['SUM(square_footage)'];
}
The module is replacing the file modules/Accounts/Account.php
which is not a good idea as an upgraded version of SugarCRM would have different code. If you have taken a backup before installing this module, compare your backup file and the present file.
Upvotes: 1