mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix default checkboxes not getting validated
This commit is contained in:
parent
b7f83ef31f
commit
3f003ea3fb
@ -61,8 +61,8 @@ class etemplate_widget_checkbox extends etemplate_widget
|
||||
// defaults for set and unset values
|
||||
if (!$this->attrs['set_val'] && !$this->attrs['unset_val'])
|
||||
{
|
||||
$set_val = 1;
|
||||
$unset_val = 0;
|
||||
$set_val = 'true';
|
||||
$unset_val = 'false';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -150,7 +150,7 @@ class etemplate_widget_textbox extends etemplate_widget
|
||||
}
|
||||
}
|
||||
$valid = $value;
|
||||
error_log(__METHOD__."() $form_name: ".array2string($value_in).' --> '.array2string($value));
|
||||
//error_log(__METHOD__."() $form_name: ".array2string($value_in).' --> '.array2string($value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user