aboutsummaryrefslogtreecommitdiff
path: root/actions/photos/image/ajax_upload.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-04-06 10:30:26 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-04-06 10:30:26 -0700
commit7a4d1861e23798e2fda7d9d3c750b8d13b55c5a8 (patch)
treeb0b4600a178115c21b73aa09b46b1595b9ed569d /actions/photos/image/ajax_upload.php
parent271e824fae382c2b605d73135597a42323f691a9 (diff)
downloadelgg-7a4d1861e23798e2fda7d9d3c750b8d13b55c5a8.tar.gz
elgg-7a4d1861e23798e2fda7d9d3c750b8d13b55c5a8.tar.bz2
Started adding back quota support.
Diffstat (limited to 'actions/photos/image/ajax_upload.php')
-rw-r--r--actions/photos/image/ajax_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/photos/image/ajax_upload.php b/actions/photos/image/ajax_upload.php
index d6b083cf6..daa824c42 100644
--- a/actions/photos/image/ajax_upload.php
+++ b/actions/photos/image/ajax_upload.php
@@ -22,7 +22,7 @@ if (empty($_FILES)) {
exit;
}
-$file = $_FILES['Image'];
+$file = $_FILES[$file_var_name];
$mime = tp_upload_get_mimetype($file['name']);
if ($mime == 'unknown') {