Browse Source

Merge branch '20250522_diywebfr'

15313670163 1 week ago
parent
commit
3a17f78dcc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/JsonRpc/WebsiteService.php

+ 2 - 2
app/JsonRpc/WebsiteService.php

@@ -2586,8 +2586,8 @@ class WebsiteService implements WebsiteServiceInterface
         if(isset($data['img_alias']) &&!empty($data['img_alias'])){
             array_push($where, ['img_alias', 'like', '%'. $data['img_alias']. '%']);
         }
-        if(isset($data['type']) &&!empty($data['type'])){
-            array_push($where, ['type', '=', $data['type']]);
+        if(isset($data['img_type']) &&!empty($data['img_type'])){
+            array_push($where, ['img_type', '=', $data['img_type']]);
         }
         if(isset($data['website_name']) &&!empty($data['website_name'])){
             $website = Website::where('website_name','like','%'.$data['website_name'].'%')->first();