X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCheckboxGroup.class.php;fp=WEB-INF%2Flib%2Fform%2FCheckboxGroup.class.php;h=9d19d2785c47be1fd51345bf0c3b2f64717d6415;hb=5532fe6cfc2125063ff8040cfa80e20089ac64b0;hp=21a9e35c436b2f2f41ea9dbf265e4123a2b72c7f;hpb=bd569da4f1d6ada00f5e48eac9716c068003748a;p=timetracker.git diff --git a/WEB-INF/lib/form/CheckboxGroup.class.php b/WEB-INF/lib/form/CheckboxGroup.class.php index 21a9e35c..9d19d278 100644 --- a/WEB-INF/lib/form/CheckboxGroup.class.php +++ b/WEB-INF/lib/form/CheckboxGroup.class.php @@ -66,9 +66,8 @@ class CheckboxGroup extends FormElement { $this->lSelNone = $i18n->getKey('label.select_none'); } - function toStringControl() { - if (!$this->isRenderable()) return ""; - + function toStringControl() { + if ($this->id=="") $this->id = $this->name; $renderArray = array();