#381 php 5.4 호환성문제 수정

This commit is contained in:
khongchi 2014-01-29 01:08:49 +09:00
parent f84ecb39ce
commit 7813cb00a3
6 changed files with 9 additions and 2 deletions

View file

@ -98,8 +98,9 @@ class addonAdminModel extends addon
// Add the path (files/addons precedence)
$path = $this->getAddonPath($addon_name);
// Wanted information on the add-on
unset($info);
$info = $this->getAddonInfoXml($addon_name, $site_srl, $gtype);
if(!$info) $info = new stdClass();
$info->addon = $addon_name;
$info->path = $path;