X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewnotice.php;h=e254eac4999852389b8623b36db62d10826f5bb3;hb=2b30d7fffb4deeee7d5391585692d76c59cd2ba9;hp=5f44a32a96a5601a2582a9dbdb66f39b3f27e6d0;hpb=b47a1b3b578021d4d857c8030a5b6ee0101eae41;p=quix0rs-gnu-social.git diff --git a/actions/newnotice.php b/actions/newnotice.php index 5f44a32a96..e254eac499 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -135,7 +135,7 @@ class NewnoticeAction extends Action function isRespectsQuota($user) { $file = new File; - $ret = $file->isRespectsQuota($user); + $ret = $file->isRespectsQuota($user,$_FILES['attach']['size']); if (true === $ret) return true; $this->clientError($ret); }