X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTextField.class.php;h=9107c963d73177a063c76a7afc8dbaa7cb27c572;hb=443346587eb47046e4a5a4624bcb125c665cf615;hp=e4d58659c89420bb9b5c9408c6ee921e9fec31e6;hpb=bd569da4f1d6ada00f5e48eac9716c068003748a;p=timetracker.git diff --git a/WEB-INF/lib/form/TextField.class.php b/WEB-INF/lib/form/TextField.class.php index e4d58659..9107c963 100644 --- a/WEB-INF/lib/form/TextField.class.php +++ b/WEB-INF/lib/form/TextField.class.php @@ -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 = "name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n"; } else {