]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextField.class.php
Refactoring - removed unused stuff.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index e4d58659c89420bb9b5c9408c6ee921e9fec31e6..9107c963d73177a063c76a7afc8dbaa7cb27c572 100644 (file)
@@ -41,9 +41,7 @@ class TextField extends FormElement {
        function setAsPassword($name)   { $this->mPassword = $name;     }
        function getAsPassword()        { return $this->mPassword; }
 
-       function toStringControl()      {
-               if (!$this->isRenderable()) return "";
-           
+       function toStringControl() {
                if (!$this->isEnable()) {
                        $html = "<input name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
                } else {