Kirin преди 2 години
родител
ревизия
a120d6397d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/admin/model/system/SystemMenus.php

+ 1 - 1
app/admin/model/system/SystemMenus.php

@@ -142,7 +142,7 @@ class SystemMenus extends BaseModel
      */
     public static function tidyMenuTier($adminFilter = false, $menusList, $pid = 0, $navList = [])
     {
-        if ($menusList == 21) {
+        if ($pid == 21) {
             dump($menusList);
         }
         static $allAuth = null;