diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-03-23 22:42:30 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-03-23 22:42:30 -0400 |
commit | abe4be5438180f5e4f7618f60112023e5ccd788e (patch) | |
tree | c41c0df78e2cfeab175e6e625b42d1f9fa85145c /lib/mediafile.php | |
parent | 1f73156daeef47cf8a7214936383fbc496255fd7 (diff) |
Use $param instead of hardcoded 'attach' name.
Diffstat (limited to 'lib/mediafile.php')
-rw-r--r-- | lib/mediafile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mediafile.php b/lib/mediafile.php index 10d90d008..1c96c42d7 100644 --- a/lib/mediafile.php +++ b/lib/mediafile.php @@ -171,7 +171,7 @@ class MediaFile return; } - if (!MediaFile::respectsQuota($user, $_FILES['attach']['size'])) { + if (!MediaFile::respectsQuota($user, $_FILES[$param]['size'])) { // Should never actually get here |