CMS MADE SIMPLE FORGE

Form Builder

 

[#9521] When using captcha, the page fails if you enter an incorrect captcha

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Fri Sep 06 04:19:04 -0400 2013

Assigned To:
Version: 0.7.4
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
When using captcha, the page fails if you enter an incorrect captcha
Detailed Description:
The following appears in the error_log

PHP Catchable fatal error: Object of class fbDispositionFromEmailAddressField
could not be converted to string in
/home4/spyglas2/public_html/qualitas/modules/FormBuilder/classes/DispositionFromEmailAddressField.class.php
on line 44

When looking at this line, the line itself has a typo..

$val = $this->Value[0] ? $this->$this->Value[0] :
$this->GetOption('default');

It has $this->$this twice, and needs changed to  ...

			$val = $this->Value[0] ? $this->Value[0] : $this->GetOption('default');



History

Comments
avatar
Date: 2013-09-06 07:06
Posted By: Jonathan Schmid (Foaly*)

fixed in Rev 632.
      
avatar
Date: 2014-10-20 13:43
Posted By: Rolf (rolf1)

Because the 0.7.4 release was unstable, we went back to the working code of
0.7.3 and started working from there.
First priority: a stable Formbuilder release!

Formbuilder 0.8 is released
      
Updates

Updated: 2014-10-20 13:43
cmsms_version_id: 30123 => -1
assigned_to_id: 12994 => 100
state: Open => Closed

Updated: 2013-09-06 07:06
resolution_id: => 7
cmsms_version_id: -1 => 30123
assigned_to_id: 100 => 12994