changeset 1313 | da50b017af94 |
parent 1303 | ed0bd14b6223 |
child 1335 | 28b52db3cf3a |
--- a/plugins/SpecialUserFuncs.php Mon Nov 15 19:21:47 2010 -0500 +++ b/plugins/SpecialUserFuncs.php Tue Nov 16 12:10:24 2010 -0500 @@ -1373,7 +1373,14 @@ $db->_die(); require ( ENANO_ROOT.'/includes/captcha.php' ); - $captcha = captcha_object($hash, 'freecap'); + try + { + $captcha = captcha_object($hash, 'freecap'); + } + catch ( Exception $e ) + { + die("CAPTCHA engine returned a hard exception"); + } // $captcha->debug = true; $captcha->make_image();