From 07f6a6b5f3092f53304be24e43ad2b92912ae5c3 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 4 Oct 2007 12:03:05 +0000 Subject: - fixed database updater - fixed hook function call in database updater - fixed bot agent detection (we used a wildcard within the w3c-agent, therefore we should really support this. ;)) git-svn-id: file:///svn/phpbb/trunk@8131 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/hooks/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpBB/includes/hooks') diff --git a/phpBB/includes/hooks/index.php b/phpBB/includes/hooks/index.php index a8ad64478a..aa85e63f32 100644 --- a/phpBB/includes/hooks/index.php +++ b/phpBB/includes/hooks/index.php @@ -1,10 +1,10 @@ hooks[$class][$function])) { - // Developer tries to call a hooked function within the hooked function... + // Developer tries to call a hooked function within the hooked function... if ($this->current_hook !== NULL && $this->current_hook['class'] === $class && $this->current_hook['function'] === $function) { return false; -- cgit v1.2.1