Skip to content

Typo in Viewer class?

By accident I triggered an error during some development work and saw this come up as a notice:

Notice: Undefined variable: val in /var/www/html/er-720/includes/runtime/Viewer.php on line 147

If you look at the code:

https://code.vtiger.com/vtiger/vtigercrm/blob/master/includes/runtime/Viewer.php#L147

I think the Notice is right. I am guessing that $val should actually be $value, which is the name of the var passed in the method's arguments?