mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-01 22:52:33 +01:00
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/accountancy/bookkeeping/list.php htdocs/core/actions_massactions.inc.php htdocs/core/lib/functions.lib.php htdocs/core/lib/memory.lib.php htdocs/langs/en_US/holiday.lang htdocs/ticket/card.php
This commit is contained in:
@@ -8159,9 +8159,9 @@ function verifCond($strToEvaluate)
|
||||
global $leftmenu;
|
||||
global $rights; // To export to dol_eval function
|
||||
|
||||
//print $strRights."<br>\n";
|
||||
//print $strToEvaluate."<br>\n";
|
||||
$rights = true;
|
||||
if ($strToEvaluate !== '') {
|
||||
if (isset($strToEvaluate) && $strToEvaluate !== '') {
|
||||
$str = 'if(!('.$strToEvaluate.')) { $rights = false; }';
|
||||
dol_eval($str); // The dol_eval must contains all the global $xxx used into a condition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user