mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +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
|
// defaults for set and unset values
|
||||||
if (!$this->attrs['set_val'] && !$this->attrs['unset_val'])
|
if (!$this->attrs['set_val'] && !$this->attrs['unset_val'])
|
||||||
{
|
{
|
||||||
$set_val = 1;
|
$set_val = 'true';
|
||||||
$unset_val = 0;
|
$unset_val = 'false';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -150,7 +150,7 @@ class etemplate_widget_textbox extends etemplate_widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$valid = $value;
|
$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