visuddhinanda 2 лет назад
Родитель
Сommit
ade1293691
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      app/Http/Controllers/CorpusController.php

+ 3 - 2
app/Http/Controllers/CorpusController.php

@@ -217,8 +217,9 @@ class CorpusController extends Controller
             $channels[] = ChannelApi::getSysChannel('_System_Pali_VRI_');
         }
 
-        if($request->has('channel')){
-            $channels = array_merge($channels,explode(",",$request->get('channel')) );
+        if($request->has('channels')){
+            $getChannel = explode(",",$request->get('channels'));
+            $channels = array_merge($channels,$getChannel );
         }
         $para = explode(",",$request->get('par'));