rabin 2 年之前
父节点
当前提交
e93b03434c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Database.php

+ 1 - 1
src/Database.php

@@ -669,7 +669,7 @@ class Database
                 'value' => array(),
             );
 
-            if (!isset($config['manage']['edit']) || (!isset($config['manage']['edit']) && $config['manage']['edit'] == true)) {
+            if (!isset($config['manage']['edit']) || (isset($config['manage']['edit']) && $config['manage']['edit'] == true)) {
                 if (!isset($config['manage']['list_button']['update'])) {
                     $config['manage']['_list']['value']['update'] = '编辑';
                 }