diff options
author | U-H-PC\H <kellanved@phpbb.com> | 2010-03-28 14:37:31 +0200 |
---|---|---|
committer | U-H-PC\H <kellanved@phpbb.com> | 2010-03-28 14:37:31 +0200 |
commit | 9be61f9e53fef972e8f3b37186050814a9488790 (patch) | |
tree | c3e33431109d3e19094c89318b8654b55fdd1d05 /phpBB/includes/session.php | |
parent | d79cff235c761d10c148eb1434ce72289f4327a0 (diff) | |
download | forums-9be61f9e53fef972e8f3b37186050814a9488790.tar forums-9be61f9e53fef972e8f3b37186050814a9488790.tar.gz forums-9be61f9e53fef972e8f3b37186050814a9488790.tar.bz2 forums-9be61f9e53fef972e8f3b37186050814a9488790.tar.xz forums-9be61f9e53fef972e8f3b37186050814a9488790.zip |
[bug/59425] Correctly check for double inclusion in captcha garbage collection
The check to avoid the double inclusion of the captcha factory class in the
garbage collection code was faulty, checking for "captcha_factory" instead of "phpbb_captcha_factory".
TerryE pointed the problem out, thanks!
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 8beb0161f9..0a01b4e73b 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -983,7 +983,7 @@ class session } // only called from CRON; should be a safe workaround until the infrastructure gets going - if (!class_exists('captcha_factory')) + if (!class_exists('phpbb_captcha_factory')) { include($phpbb_root_path . "includes/captcha/captcha_factory." . $phpEx); } |