summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-07 15:55:10 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-07 15:55:10 -0400
commit5f72423523c0d95800460cd3342461d3c72eafa1 (patch)
tree740fde7d48263c754a20d560e043ca7e538f1d8c /actions
parenta9c83b064f38a2a1c431710c20eef611057711e8 (diff)
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);
}