mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix warnings in PHP.x across several modules involved in site menu & design editing feature
This commit is contained in:
parent
82b8785c14
commit
741f725bcf
6 changed files with 64 additions and 51 deletions
|
|
@ -349,13 +349,13 @@ class autoinstallModel extends autoinstall
|
|||
$path = substr($path, 0, strlen($path) - 1);
|
||||
}
|
||||
|
||||
if(!$GLOBALS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path])
|
||||
if(empty($GLOBALS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path]))
|
||||
{
|
||||
$args = new stdClass();
|
||||
$args->path = $path;
|
||||
$output = executeQuery('autoinstall.getPackageSrlByPath', $args);
|
||||
|
||||
$GLOBALS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path] = $output->data->package_srl;
|
||||
$GLOBALS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path] = $output->data->package_srl ?? null;
|
||||
}
|
||||
|
||||
return $GLOBALS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue