shish 2 years ago
parent
commit
1f8ade3169
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-ghs/controllers/ModifyController.php

+ 1 - 1
app-ghs/controllers/ModifyController.php

@@ -49,7 +49,7 @@ class ModifyController extends BaseController
             $arr = json_decode($data, true);
             if (!empty($arr)) {
                 $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'inTurn asc,addTime asc', '*', null, true);
-                if (count($list) >= 13) {
+                if (count($list) >= 12) {
                     if ($list[0]) {
                         $list[0]->delete();
                     }