diff --git a/system/boot.php b/system/boot.php
index 85eee719..4294c485 100644
--- a/system/boot.php
+++ b/system/boot.php
@@ -345,7 +345,7 @@ try {
r2(U . 'dashboard', 'e', 'not found');
}
} catch (Exception $e) {
- if (isset($_SESSION['uid'])) {
+ if (!isset($_SESSION['aid']) || empty($_SESSION['aid'])) {
r2(U . 'home' , 'e', $e->getMessage());
}
$ui->assign("error_message", $e->getMessage() . '
' . $e->getTraceAsString() . ''); diff --git a/system/controllers/prepaid.php b/system/controllers/prepaid.php index e4949b2a..f41b7259 100644 --- a/system/controllers/prepaid.php +++ b/system/controllers/prepaid.php @@ -219,7 +219,7 @@ switch ($action) { } else { $msg .= $_L['Data_Not_Found'] . '