summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-09 11:22:07 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-09 11:22:07 -0700
commitc981f5bcec02295482153e45b0d57f37260706c0 (patch)
treed45052e7a37ec944d28af966d5b589ac1dbd08aa /actions
parent43e0b308fdb32ed434d25b54b4a84b88d329d1bf (diff)
parent79c61e0c8c12f98fb4f3984a8297186a3dc847e8 (diff)
Merge branch 'candrews-review' into 0.8.x
* candrews-review: maildaemon makes mail attachments into notice attachments File classes does not use the $FILES array directly, as users of this class aren't necessarily from the web
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 5f44a32a9..e254eac49 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);
}