From 9e3ae3237cb96cf8451516d1b0362437aa27ff6c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 1 Oct 2007 19:24:39 +0000 Subject: *** empty log message *** git-svn-id: file:///svn/phpbb/trunk@8118 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes') 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__)) { -- cgit v1.2.1