mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #1629 error when more than one menu is named '__ADMINMENU_V17__'
This commit is contained in:
parent
9412cc4a22
commit
0188bb817b
4 changed files with 24 additions and 26 deletions
|
|
@ -770,11 +770,8 @@ class adminAdminView extends admin
|
|||
*/
|
||||
function dispAdminSetup()
|
||||
{
|
||||
$oModuleModel = getModel('module');
|
||||
|
||||
$oAdmin = getClass('admin');
|
||||
$oMenuAdminModel = getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuByTitle($oAdmin->getAdminMenuName());
|
||||
$output = $oMenuAdminModel->getMenuByTitle($this->getAdminMenuName());
|
||||
|
||||
Context::set('menu_srl', $output->menu_srl);
|
||||
Context::set('menu_title', $output->title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue