ss 1 年之前
父節點
當前提交
16dc9a06bf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/Index.php

+ 1 - 1
application/admin/controller/Index.php

@@ -37,7 +37,7 @@ class Index extends Auth
             $arr[] = $v;
         }
 
-        $curUrl = !empty($lists[0])?$lists[0]['url']:'';
+        $curUrl = isset($lists[0])?$lists[0]['url']:'';
 
         $this->assign('menus',$arr);