Remove unnecessary exit calls after redirect() and util_show_error_page() calls
This commit is contained in:
@@ -16,10 +16,7 @@ $aClean['iMaintainerId'] = makeSafe($_REQUEST['iMaintainerId']);
|
||||
|
||||
// deny access if not logged in
|
||||
if(!$_SESSION['current']->hasPriv("admin"))
|
||||
{
|
||||
util_show_error_page("Insufficient privileges.");
|
||||
exit;
|
||||
}
|
||||
|
||||
apidb_header("Admin Maintainers");
|
||||
echo '<form name="sQform" action="adminMaintainers.php" method="post" enctype="multipart/form-data">',"\n";
|
||||
|
||||
Reference in New Issue
Block a user