rkljw 1 月之前
父節點
當前提交
da08359596
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {