fix error message

This commit is contained in:
iBNu Maksum
2024-10-26 19:15:28 +07:00
parent 3778499611
commit 8e41749cd4
3 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class Package
r2(U . 'home', 'e', Lang::T('Plan Not found'));
}
if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) {
r2(U . 'dashboard', 'e', Lang::T('Plan Not found'));
r2(U . 'dashboard', 'e', Lang::T('You do not have permission to access this page'));
}
}