mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-28 10:40:28 +02:00
[ticket/12683] Improve exception handling
PHPBB3-12683
This commit is contained in:
@@ -113,7 +113,7 @@ class state_helper
|
||||
// Make sure the action is correct (just in case)
|
||||
if (!in_array($action, ['create', 'delete']))
|
||||
{
|
||||
throw new search_exception('Invalid action');
|
||||
throw new search_exception('INVALID_ACTION');
|
||||
}
|
||||
|
||||
$state = [
|
||||
|
Reference in New Issue
Block a user