From d53280ff80b672255a8ae2469a668f3b8f63977f Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Jun 2008 21:05:35 +0000 Subject: Image cropping works! git-svn-id: https://code.elgg.org/elgg/trunk@1082 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/iconupload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/profile/actions/iconupload.php') 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(); -- cgit v1.2.3