rabin 3 月之前
父节点
当前提交
de1c9f7169
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Common.php

+ 1 - 1
lib/Common.php

@@ -196,7 +196,7 @@ class Common
     {
         $total = Dever::input('total', 'is_numeric', '联动总数', $total);
         $level = Dever::input('level', 'is_numeric', '联动级别', 1);
-        $parent = Dever::input('parent', 'is_numeric', '联动ID', 0);
+        $parent = Dever::input('parent', 'isset', '联动ID', 0);
         if ($parent < 0) {
             Dever::error('error');
         }