Remove unnecessary exit calls after redirect() and util_show_error_page() calls
This commit is contained in:
@@ -519,10 +519,7 @@ class Application {
|
||||
|
||||
/* is this user supposed to view this version? */
|
||||
if(!$_SESSION['current']->canViewApplication($this))
|
||||
{
|
||||
util_show_error_page("Something went wrong with the application or version id");
|
||||
exit;
|
||||
}
|
||||
|
||||
// show Vote Menu
|
||||
if($_SESSION['current']->isLoggedIn())
|
||||
|
||||
Reference in New Issue
Block a user