Эх сурвалжийг харах

Merge branch 'category_03_12_liu'

rkljw 1 сар өмнө
parent
commit
bc7d0e4337

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -1058,7 +1058,7 @@ class WebsiteService implements WebsiteServiceInterface
                          if ($existingRecord && $existingRecord->name) {
                              unset($values['name']);
                          }
-                         if ($existingRecord && $existingRecord->sort) {
+                         if ($existingRecord && $existingRecord->sort>=0) {
                              unset($values['sort']);
                          }
                          if ($existingRecord && $existingRecord->seo_title) {