mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
#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
This commit is contained in:
parent
cc0eadb67f
commit
2a0a16bca3
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class phpbb_captcha_factory
|
||||||
{
|
{
|
||||||
include($phpbb_root_path . "includes/captcha/plugins/{$name}_plugin." . $phpEx);
|
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;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue