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:
@@ -22,7 +22,7 @@ apidb_header("Comments");
|
||||
|
||||
|
||||
if(!is_numeric($aClean['iAppId']) OR !is_numeric($aClean['iVersionId']) OR (!empty($aClean['iThreadId']) AND !is_numeric($aClean['iThreadId'])))
|
||||
util_show_error_page("Wrong IDs");
|
||||
util_show_error_page_and_exit("Wrong IDs");
|
||||
|
||||
view_app_comments($aClean['iVersionId'], $aClean['iThreadId']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user