Commit 5f50a9498d6a92f4aac8d2490116d1872dd216f9

Authored by Anastasia
1 parent a093960d

incust in admin

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
controllers/OrderController.php
... ... @@ -234,7 +234,7 @@
234 234 )
235 235 )) {
236 236 OrderProduct::saveItems(\Yii::$app->request->post('OrderProduct'), $id);
237   - if ($model->paid and class_exists(Incust::className())) {
  237 + if ($model->paid and class_exists(Incust::className()) and $model->bonuses_add == null) {
238 238 /**
239 239 * @var \backend\incust\components\Incust $incust;
240 240 */
... ...