Commit 24eda961fbe8fa7b3f412ce44b8b3d9e92bb85cb
1 parent
57fe2b2e
incust1
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()) and $model->bonuses_add == null and $order->incust) { | |
237 | + if ($model->paid and class_exists(Incust::className()) and $model->bonuses_add == null and $model->incust) { | |
238 | 238 | /** |
239 | 239 | * @var \backend\incust\components\Incust $incust; |
240 | 240 | */ | ... | ... |