[Vtigercrm-developers] Warning with BAS blocks

Nicolas GOMBERT ngombert at ng-consultant.com
Fri Sep 8 03:00:44 PDT 2006


Hi guys,

I'm working on a new module for vtiger and I got a warning in my
EditView page cause I only have BAS field in it.

It comes from l.1015 in CommonUtils.php :
	foreach($getBlockInfo as $label=>$contents)

$getBlockInfo is not define if there is no ADV field.

it can be solved by adding "if ($getBlockInfo)" just before that line.

Perhaps I miss something (I'm pretty new in vtiger dev) that why I don't
directly post on trac.








More information about the vtigercrm-developers mailing list