dever 7 rokov pred
rodič
commit
39de86821e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/Database.php

+ 1 - 1
src/Database.php

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