mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix unnecessary assignment by reference, which causes E_NOTICE
This commit is contained in:
parent
ed15587c4f
commit
6c113c22ed
35 changed files with 80 additions and 84 deletions
|
|
@ -325,7 +325,7 @@ class MenuAdminModel extends Menu
|
|||
$security->encodeHTML('item_info.name');
|
||||
|
||||
// Compile the template file into tpl variable and then return it
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'menu_item_info');
|
||||
|
||||
$this->add('tpl', str_replace("\n"," ",$tpl));
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ class MenuMobile extends moduleObject
|
|||
function dispMenuMenu()
|
||||
{
|
||||
$menu_srl = Context::get('menu_srl');
|
||||
$oAdminModel =& getAdminModel('menu');
|
||||
$oAdminModel = MenuAdminModel::getInstance();
|
||||
$menu_info = $oAdminModel->getMenu($menu_srl);
|
||||
|
||||
if(!$menu_srl)
|
||||
{
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
$oMenuAdminController = MenuAdminController::getInstance();
|
||||
$homeMenuCacheFile = $oMenuAdminController->getHomeMenuCacheFile();
|
||||
|
||||
if(file_exists($homeMenuCacheFile))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue