Commit 00a6457b01928bdbb9cf897b8c63159a7228d4c3

Authored by Alexey Boroda
1 parent 793ad526

-Sms bug fixed

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
controllers/OrderController.php
... ... @@ -506,6 +506,9 @@
506 506 public function actionPublishOrder($id)
507 507 {
508 508 $model = Order::findOne($id);
  509 + if ($model->published == true) {
  510 + exit;
  511 + }
509 512 $model->published = true;
510 513 $model->save();
511 514 /**
... ...