mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Compiler and co: fixed issue on the interpretation of the menus
SVN:trunk[1974]
This commit is contained in:
@@ -305,7 +305,11 @@ EOF;
|
||||
*/
|
||||
protected function PathToPHP($sPath, $sModuleRelativeDir, $bIsUrl = false)
|
||||
{
|
||||
if (substr($sPath, 0, 2) == '$$')
|
||||
if ($sPath == '')
|
||||
{
|
||||
$sPHP = "''";
|
||||
}
|
||||
elseif (substr($sPath, 0, 2) == '$$')
|
||||
{
|
||||
// Absolute
|
||||
$sPHP = "'".addslashes(substr($sPath, 2))."'";
|
||||
|
||||
Reference in New Issue
Block a user