Fix: add global object to test condition with an object

This commit is contained in:
Regis Houssin 2014-08-14 15:33:41 +02:00
parent 91900f54c2
commit d4a0c122be

View File

@ -4242,6 +4242,7 @@ function dol_eval($s,$returnvalue=0)
global $langs, $user, $conf;
global $leftmenu;
global $rights;
global $object;
//print $s."<br>\n";
if ($returnvalue) return @eval('return '.$s.';');