It is actually a class.
authorRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:24:58 +0000 (00:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:24:58 +0000 (00:24 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/helper/html/forms/class_HtmlFormHelper.php

index 10b152e..3f4bc59 100644 (file)
@@ -684,7 +684,7 @@ class HtmlFormHelper extends BaseHtmlHelper implements HelpableTemplate {
                }
 
                // Get a configured instance
-               $captchaInstance = ObjectFactory::createObjectByConfiguredName($this->getFormName() . '_captcha', array($this, $extraInstance));
+               $captchaInstance = ObjectFactory::createObjectByConfiguredName($this->getFormName() . '_captcha_class', array($this, $extraInstance));
 
                // Initiate the CAPTCHA
                $captchaInstance->initiateCaptcha();