aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-10-15 10:52:41 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-10-15 10:52:41 +0000
commit69746fe6839075670354941536440d06cfa23923 (patch)
tree2123f9278d47e6a3f3a884d290b8847719cf2b59 /phpBB
parent2a0a16bca3406695aec074b82679f6be5866928c (diff)
downloadforums-69746fe6839075670354941536440d06cfa23923.tar
forums-69746fe6839075670354941536440d06cfa23923.tar.gz
forums-69746fe6839075670354941536440d06cfa23923.tar.bz2
forums-69746fe6839075670354941536440d06cfa23923.tar.xz
forums-69746fe6839075670354941536440d06cfa23923.zip
#52875 working around php4 bug 24631 - call_user_func doesn't return references. This causes php4 to create a copy.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10224 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/captcha/captcha_factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php
index d00ce0e326..131c0b3b77 100644
--- a/phpBB/includes/captcha/captcha_factory.php
+++ b/phpBB/includes/captcha/captcha_factory.php
@@ -35,7 +35,7 @@ class phpbb_captcha_factory
{
include($phpbb_root_path . "includes/captcha/plugins/{$name}_plugin." . $phpEx);
}
- $instance & call_user_func(array($name, 'get_instance'));
+ $instance = call_user_func(array($name, 'get_instance'));
return $instance;
}