Author: c_b_dvs
Description:
In Semantic Forms 2.4.2, I noticed that listboxes don't show the current values that I have set in the template.
Going through the Apache error logs revealed this:
PHP Notice: Undefined variable: cur_value in ./extensions/SemanticForms/includes/forminputs/SF_ListBoxInput.php on line 47
I've been able to get things running again by modifying the getHtmlText() in SF_ListBoxInput.php as such:
$cur_values = SFUtils::getValuesArray( $this->mCurrentValue, $delimiter ); //$cur_values = SFUtils::getValuesArray( $cur_value, $delimiter );
Regards,
Chris
Version: unspecified
Severity: normal
OS: Linux
Platform: Other