Remove unnecessary exit calls after redirect() and util_show_error_page() calls
This commit is contained in:
@@ -10,10 +10,7 @@ $aClean['sName'] = makeSafe($_REQUEST['sName']);
|
||||
$aClean['sWebpage'] = makeSafe($_REQUEST['sWebpage']);
|
||||
|
||||
if(!$_SESSION['current']->hasPriv("admin"))
|
||||
{
|
||||
util_show_error_page();
|
||||
exit;
|
||||
}
|
||||
|
||||
$oVendor = new Vendor($aClean['iVendorId']);
|
||||
if($aClean['sSubmit'])
|
||||
|
||||
Reference in New Issue
Block a user