In formbuilder (0.6.4) verschijnt na het versturen van een formulier de volgende foutmelding:
De function waar het fout gaat is (zie de regel waar 'return array($ret);' staat):Notice: Undefined variable: ret in /home/wsvherking/public_html/modules/FormBuilder/classes/TextFieldExpandable.class.php on line 131
http://www.wsv-herkingen.nl/index.php?page=test
Notice: Undefined variable: ret in /home/wsvherking/public_html/modules/FormBuilder/classes/TextFieldExpandable.class.php on line 131
Code: Select all
function GetHumanReadableValue($as_string = true)
{
$form = $this->form_ptr;
if (! is_array($this->Value)) {
$this->Value = array($this->Value);
}
if ($as_string) {
return join($form->GetAttr('list_delimiter',','),$this->Value);
} else {
return array($ret);
}
}
Gregor