]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/DateField.class.php
Refactoring - renamed a few things.
[timetracker.git] / WEB-INF / lib / form / DateField.class.php
index b85632d585c74fe60bf32a24608fb350b9ce91b8..49c2354425038587097b30fa656133c273c0c7b5 100644 (file)
@@ -81,10 +81,9 @@ class DateField extends TextField {
     }
   }
 
-  function toStringControl()  {
-    if (!$this->isRenderable()) return "";
+  function toStringControl() {
 
-    if (!$this->isEnable()) {
+    if (!$this->isEnabled()) {
       $html = htmlspecialchars($this->getValue()).
         "<input type=\"hidden\" name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\">\n";
     } else {