forked from GNUsocial/gnu-social
Use $param instead of hardcoded 'attach' name.
This commit is contained in:
parent
1f73156dae
commit
abe4be5438
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user