mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Compiler: fixed issue with simple quotes in the OQL of a menu.
SVN:trunk[2089]
This commit is contained in:
@@ -830,7 +830,7 @@ EOF;
|
||||
break;
|
||||
|
||||
case 'OQLMenuNode':
|
||||
$sOQL = $oMenu->GetChildText('oql');
|
||||
$sOQL = addslashes($oMenu->GetChildText('oql'));
|
||||
$bSearch = ($oMenu->GetChildText('do_search') == '1') ? 'true' : 'false';
|
||||
$sNewMenu = "new OQLMenuNode('$sMenuId', '$sOQL', $sParentSpec, $fRank, $bSearch);";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user