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

View File

@ -171,7 +171,7 @@ class MediaFile
return; return;
} }
if (!MediaFile::respectsQuota($user, $_FILES['attach']['size'])) { if (!MediaFile::respectsQuota($user, $_FILES[$param]['size'])) {
// Should never actually get here // Should never actually get here