diff --git a/views/bootstrap/class.UpdateDocument.php b/views/bootstrap/class.UpdateDocument.php index 996488ef3..c9d5cd392 100644 --- a/views/bootstrap/class.UpdateDocument.php +++ b/views/bootstrap/class.UpdateDocument.php @@ -221,7 +221,7 @@ console.log(element); formField( getMLText("local_file"), - $enablelargefileupload ? $this->getFineUploaderHtml() : $this->printFileChooser('userfile', false) + $enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooser('userfile', false) ); if($dropfolderdir) { $this->formField(