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