Commit 3abdf3aefb2ae7336a1cb6992acc786a00ddfeec

Authored by Alex Savenko
1 parent c97a48c7

status

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/backend/controllers/DiscountController.php
@@ -222,7 +222,7 @@ class DiscountController extends Controller @@ -222,7 +222,7 @@ class DiscountController extends Controller
222 222
223 $status = $this->models->getDiscount()->getStatus($id); 223 $status = $this->models->getDiscount()->getStatus($id);
224 224
225 - empty($status) ? $status = $status[0] : $status = 'Cannt get status'; 225 + isset($status) ? $status = $status[0] : $status = 'Cannt get status';
226 226
227 if ($status == 1) { 227 if ($status == 1) {
228 228