From 69746fe6839075670354941536440d06cfa23923 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Thu, 15 Oct 2009 10:52:41 +0000 Subject: #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 --- phpBB/includes/captcha/captcha_factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') 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; } -- cgit v1.2.1