Skip to content

Commit

Permalink
[legacy] fix xoopscube#112, Notice error correction
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Apr 21, 2015
1 parent 5de07bf commit 36f9740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/modules/legacy/admin/actions/ModuleInfoAction.class.php
Expand Up @@ -41,6 +41,9 @@ function getDefaultView(&$controller, &$xoopsUser)
if (is_object($this->mModuleObject)) {
$this->mModuleObject->loadAdminMenu();
$this->mModuleObject->loadInfo($dirname);
if (!is_string($this->mModuleObject->modinfo['adminmenu'])) {
$this->mModuleObject->modinfo['adminmenu'] = '';
}
$this->mInstalledFlag = true;
}
else {
Expand Down

0 comments on commit 36f9740

Please sign in to comment.