From 24e45db017870630049ad04aaf49c0646bf51747 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Tue, 19 Mar 2024 09:34:28 +0700 Subject: [PATCH] break; the line --- system/controllers/order.php | 1 + system/controllers/voucher.php | 1 + 2 files changed, 2 insertions(+) diff --git a/system/controllers/order.php b/system/controllers/order.php index 9df265f2..3e4832dd 100644 --- a/system/controllers/order.php +++ b/system/controllers/order.php @@ -297,6 +297,7 @@ switch ($action) { $_POST['gateway'] = $pgs[0]; } } + break; case 'buy': $gateway = _post('gateway'); if (empty($gateway) && !empty($_SESSION['gateway'])) { diff --git a/system/controllers/voucher.php b/system/controllers/voucher.php index 2f130f6d..e9d65bad 100644 --- a/system/controllers/voucher.php +++ b/system/controllers/voucher.php @@ -62,6 +62,7 @@ switch ($action) { }else{ r2(U . 'voucher/list-activated', 'e', Lang::T('Not Found')); } + break; default: $ui->display('a404.tpl'); }