fly 4 سال پیش
والد
کامیت
622eb78be9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Modules/Book/Services/BookConfigService.php

+ 1 - 1
app/Modules/Book/Services/BookConfigService.php

@@ -529,7 +529,7 @@ class BookConfigService
             }
         }
         return FreeBook::where('bid', $bid)
-            ->where('config_id', $ids)
+            ->whereIn('config_id', $ids)
             ->where('is_enabled', 1)->exists();
     }
 }