LiuJ преди 2 дни
родител
ревизия
1334b212f2
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      app/JsonRpc/WebsiteService.php

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -2382,6 +2382,7 @@ class WebsiteService implements WebsiteServiceInterface
     }
     public function getWebsiteNavList(array $data): array
     {
+        $data['type'] = isset($data['type']) ? $data['type'] : 1;
         $where = [];
         if (isset($data['website_id']) && !empty($data['website_id'])) {
             array_push($where, ['website_id', '=', $data['website_id']]);