1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00

further adjustments to exit; statements

force E_USER_ERROR to exit *always* - it is always a fatal error which should stop every execution happening

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8957 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2008-09-30 09:49:20 +00:00
parent eef41d039e
commit 77cf8e50d9
4 changed files with 10 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ if ($quickmod)
case 'delete_post':
case 'delete_topic':
$module->load('mcp', 'main', 'quickmod');
exit;
return;
break;
case 'topic_logs':
@@ -183,7 +183,8 @@ if ($quickmod)
break;
default:
trigger_error("$action not allowed as quickmod");
trigger_error("$action not allowed as quickmod", E_USER_ERROR);
break;
}
}
else