Browse Source

Merge branch 'category_03_12_liu'

rkljw 1 tháng trước cách đây
mục cha
commit
bc7d0e4337
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 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) {