Use $param instead of hardcoded 'attach' name.

This commit is contained in:
Craig Andrews 2010-03-23 22:42:30 -04:00
parent 1f73156dae
commit abe4be5438
1 changed files with 1 additions and 1 deletions

View File

@ -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