X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewnotice.php;h=e254eac4999852389b8623b36db62d10826f5bb3;hb=4d05afae302f1870af369a713ab7ed291c821165;hp=5f44a32a96a5601a2582a9dbdb66f39b3f27e6d0;hpb=dd705ddaf751ee8132cdd52e47aeef259477912c;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); }