Rename util_show_error_page() to util_show_error_page_and_exit() and redirect() to util_redirect_and_exit()
so it is explicit that we exit in those functions that so we know it isn't necessary to put an exit after we call them
This commit is contained in:
@@ -20,7 +20,7 @@ $aClean['iBugId'] = makeSafe($_REQUEST['iBugId']);
|
||||
/* code to View versions affected by a Bug */
|
||||
|
||||
if(!is_numeric($aClean['iBugId']))
|
||||
util_show_error_page("Something went wrong with the bug ID");
|
||||
util_show_error_page_and_exit("Something went wrong with the bug ID");
|
||||
|
||||
apidb_header("Applications affected by Bug #".$aClean['iBugId']);
|
||||
echo '<form method=post action="viewbugs.php?iBugId='.$aClean['iBugId'].'">',"\n";
|
||||
|
||||
Reference in New Issue
Block a user