Index: captcha.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/captcha/captcha.module,v retrieving revision 1.20 diff -u -r1.20 captcha.module --- captcha.module 30 Jan 2006 04:38:50 -0000 1.20 +++ captcha.module 6 Feb 2006 21:04:25 -0000 @@ -220,9 +220,11 @@ function _captcha_load() { $captcha_type = variable_get("captcha_type", NULL); + if ($captcha_type == NULL) { + return false; + } $path = drupal_get_path('module', 'captcha'); include_once($path.'/captcha_'.$captcha_type.'.inc'); - $function_challenge = '_captcha_'. $captcha_type .'_challenge'; $function_validate = '_captcha_'. $captcha_type .'_validate';