X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=271d3607075aaf03ba84d84ba8a64c6b5bd2fbcd;hb=119d0f7dbab40f30170ba263de78d7e9cea984db;hp=514066356933ad0a32400a8b73e74a37b9c9d1fa;hpb=7517409bf16137a9d8a420b7358f30fa55945ba0;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 5140663569..271d360707 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -190,12 +190,12 @@ class NoticeForm extends Form } if (common_config('attachments', 'uploads')) { + $this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota')); $this->out->element('label', array('for' => 'notice_data-attach'),_('Attach')); $this->out->element('input', array('id' => 'notice_data-attach', 'type' => 'file', 'name' => 'attach', 'title' => _('Attach a file'))); - $this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota')); } if ($this->action) { $this->out->hidden('notice_return-to', $this->action, 'returnto');