Skip to content
Snippets Groups Projects
Commit a8668aee authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add global object to test condition with an object

parent 37291781
No related branches found
No related tags found
No related merge requests found
......@@ -4267,6 +4267,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.';');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment