Commit f6698e2f by irul

update

1 parent 8879a39a
......@@ -25,7 +25,7 @@ class SamsatBantenNew
if (empty($token) || empty($nopol) || empty($kdpolda)) {
self::echo_text('Paramater harus lengkap dan diisi semua.');
} else if (count($arr_nopol) && !in_array($nopol, $arr_nopol)) {
} else if (!count($arr_nopol) || (count($arr_nopol) && !in_array($nopol, $arr_nopol))) {
self::echo_text('Data tidak ditemukan.');
} else {
$params = compact("token", "nopol", "kdpolda");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!