]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextArea.class.php
Fixed a problem with predefined expenses.
[timetracker.git] / WEB-INF / lib / form / TextArea.class.php
index 5d48466853b8fcb8537e340724bc71b41f633dbd..a9c0c800837b7fce9091517a45c10d538448aa5d 100644 (file)
@@ -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 = "";