aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/iconupload.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 21:05:35 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 21:05:35 +0000
commitd53280ff80b672255a8ae2469a668f3b8f63977f (patch)
tree7823d86eb3f273452c246edc5477901e9bf3696c /mod/profile/actions/iconupload.php
parent7172a9c77c3885e889208693f0f1044b6d502eaa (diff)
downloadelgg-d53280ff80b672255a8ae2469a668f3b8f63977f.tar.gz
elgg-d53280ff80b672255a8ae2469a668f3b8f63977f.tar.bz2
Image cropping works!
git-svn-id: https://code.elgg.org/elgg/trunk@1082 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/actions/iconupload.php')
-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();