Fix fatal error

This commit is contained in:
Aleksander Machniak 2015-08-07 06:46:55 -04:00
parent 326e4ad9ad
commit 7ef34b6944

View file

@ -447,9 +447,9 @@ class tasklist_ui
return html::div($attrib,
html::div(null, $input->show()) .
html::div('formbuttons', $button->show($this->gettext('upload'), array('class' => 'button mainaction',
html::div('formbuttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction',
'onclick' => JS_OBJECT_NAME . ".upload_file(this.form)"))) .
html::div('hint', $this->gettext(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize))))
html::div('hint', $this->rc->gettext(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize))))
);
}