From: Craig Andrews Date: Wed, 24 Mar 2010 02:42:30 +0000 (-0400) Subject: Use $param instead of hardcoded 'attach' name. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=abe4be5438180f5e4f7618f60112023e5ccd788e;p=quix0rs-gnu-social.git Use $param instead of hardcoded 'attach' name. --- diff --git a/lib/mediafile.php b/lib/mediafile.php index 10d90d0081..1c96c42d7a 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