rabin 3 years ago
parent
commit
567cc2909c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/collection/lib/Create.php

+ 1 - 1
app/collection/lib/Create.php

@@ -47,7 +47,7 @@ class Create
             $result['parent_times_id'] = $page['times_id_parent'];
             $result['times_id'] = $page['times_id'];
             $result['parent_page_id'] = $page['page_id'];
-            if ($info['reorder'] >= $max) {
+            if ($info['reorder'] >= $content_max) {
                 $result['reorder'] = $info['reorder'] = 1;
                 
                 if ($page['reorder'] >= $page_max) {