aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions')
-rw-r--r--mod/profile/actions/iconupload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php
index 8dcfeea36..bb3b19528 100644
--- a/mod/profile/actions/iconupload.php
+++ b/mod/profile/actions/iconupload.php
@@ -23,7 +23,8 @@
if ($small !== false
&& $medium !== false
- && $large !== false) {
+ && $large !== false
+ && $tiny !== false) {
$filehandler = new ElggFile();
$filehandler->owner_guid = $_SESSION['user']->getGUID();