shish 3 лет назад
Родитель
Сommit
d43a5d6b26
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -27,7 +27,7 @@ class CustomController extends BaseController
     public function actionChangeIsHd()
     {
         $get = Yii::$app->request->get();
-        $id = $get['id'] ?? 0;
+        $id = $get['customId'] ?? 0;
         $isHd = $get['isHd'] ?? 1;
         $custom = CustomClass::getById($id, true);
         if (empty($custom)) {