From: Aaron Schulz Date: Wed, 21 Jan 2009 01:25:56 +0000 (+0000) Subject: (bug 16025) 'Call to undefined method SimpleCaptcha::showImage()' X-Git-Url: https://git.toastfreeware.priv.at/toast/cookiecaptcha.git/commitdiff_plain/03180f490453dab679052d0267854a82506c4ac7 (bug 16025) 'Call to undefined method SimpleCaptcha::showImage()' --- diff --git a/ConfirmEdit_body.php b/ConfirmEdit_body.php index 2e7fd04..00bea4c 100644 --- a/ConfirmEdit_body.php +++ b/ConfirmEdit_body.php @@ -54,7 +54,8 @@ class CaptchaSpecialPage extends UnlistedSpecialPage { $instance = ConfirmEditHooks::getInstance(); switch( $par ) { case "image": - return $instance->showImage(); + if( method_exists($instance,'showImage') ) + return $instance->showImage(); case "help": default: return $instance->showHelp();