rkljw 1 month ago
parent
commit
da08359596
1 changed files with 1 additions and 1 deletions
  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) {