X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bd569da4f1d6ada00f5e48eac9716c068003748a..5532fe6cfc2125063ff8040cfa80e20089ac64b0:/WEB-INF/lib/form/UploadFile.class.php diff --git a/WEB-INF/lib/form/UploadFile.class.php b/WEB-INF/lib/form/UploadFile.class.php index 97a2a8ca..c3a32763 100644 --- a/WEB-INF/lib/form/UploadFile.class.php +++ b/WEB-INF/lib/form/UploadFile.class.php @@ -41,10 +41,9 @@ class UploadFile extends FormElement { function setMaxSize($value) { $this->mMaxSize = $value; } function getMaxSize() { return $this->mMaxSize; } - function toStringControl() { - if (!$this->isRenderable()) return ""; - - if ($this->id=="") $this->id = $this->name; + function toStringControl() { + + if ($this->id=="") $this->id = $this->name; $html = "\n\tmMaxSize."\"/>"; $html .= "\n\t