function "CallUserTag" (class UserTagOperations) return a error :
Code: Select all
if ( !@eval('function '.$functionname.'(&$params, &$smarty) {'.$code.'}') === FALSE))
Fatal error: Cannot redeclare tmpcallusertag_moulinette_userplugin_function() (previously declared in E:\Intranet\v4\lib\classes\class.usertagoperations.inc.php(169) : eval()'d code:1) in E:\Intranet\v4\lib\classes\class.usertagoperations.inc.php(169) : eval()'d code on line 3
I fix this problem :
Code: Select all
if (function_exists($functionname) || !(eval('function '.$functionname.'(&$params, &$smarty) {'.$code.'}') === FALSE))
Good morning
JB
-------------------
version : CMS Made Simple 1.0.2 "Maui"