]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
Notice class has methods to check content length
[quix0rs-gnu-social.git] / actions / newnotice.php
index 5f44a32a96a5601a2582a9dbdb66f39b3f27e6d0..e254eac4999852389b8623b36db62d10826f5bb3 100644 (file)
@@ -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);
     }