From 2a0a16bca3406695aec074b82679f6be5866928c Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Thu, 15 Oct 2009 10:51:32 +0000 Subject: [PATCH] #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@10223 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/captcha/captcha_factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php index 73406a954f..d00ce0e326 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; }