cobaltcrm / cobalt

Open Source CRM
http://cobaltcrm.org
33 stars 16 forks source link

Couple of php notices when editing a people #119

Closed xillibit closed 10 years ago

xillibit commented 10 years ago

When editing a people there are couple of php notices :

PHP Notice: Undefined index: deals in ...\cobalt_mysql\src\Cobalt\View\People\Html.php:169 PHP Notice: Undefined index: total_pipeline in ...\cobalt_mysql\src\Cobalt\View\People\tmpl\person.php:252 PHP Notice: Undefined index: won_deal_amount in ...\cobalt_mysql\src\Cobalt\View\People\tmpl\person.php:296 PHP Notice: Trying to get property of non-object in ...\cobalt_mysql\src\Cobalt\View\Custom\tmpl\default.php:13 PHP Notice: Undefined variable: company in ...\cobalt_mysql\src\Cobalt\View\People\tmpl\person.php:436

xillibit commented 10 years ago

It should be converted into objects instead to have arrays ?

escopecz commented 10 years ago

Thanks for report. @juliopontes is working on PHP notices today. There was some code re-factoring lately which caused it

xillibit commented 10 years ago

It's ok now