Last modified: 2012-08-27 14:17:47 UTC
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
Yikes! Thanks for pointing that out, and finding the fix. That bug had been in place for three months... I just checked in your fix.