Remove unnecessary exit calls after redirect() and util_show_error_page() calls
This commit is contained in:
@@ -20,10 +20,7 @@ $aClean['iDistributionId'] = makeSafe( $_REQUEST['iDistributionId']);
|
||||
if ($aClean['sSub'])
|
||||
{
|
||||
if(!$_SESSION['current']->hasPriv("admin"))
|
||||
{
|
||||
util_show_error_page("Insufficient privileges.");
|
||||
exit;
|
||||
}
|
||||
|
||||
if($aClean['sSub'] == 'delete')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user