diff options
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 9aaae9ef5a..fcb9696ace 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4354,7 +4354,7 @@ function exit_handler() { global $phpbb_hook; - if ($phpbb_hook->call_hook(__FUNCTION__)) + if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__)) { if ($phpbb_hook->hook_return(__FUNCTION__)) { |