X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4fdb2cd8b1c8990a7ea8ed40b275dc51174e6585..f270b1e143509303e32f65c3dda3fbecaee56c6b:/WEB-INF/lib/form/TextArea.class.php diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index 5d484668..a9c0c800 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -47,7 +47,8 @@ class TextArea extends FormElement { function getHtml() { - if ($this->id=="") $this->id = $this->mName; + if (empty($this->id)) + $this->id = $this->name; $js_maxlen = "";