aboutsummaryrefslogtreecommitdiff
path: root/actions/avatar/crop.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-15 20:30:59 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-15 20:30:59 -0500
commit7eab6805b6cf3528066f772e501c9daff22cf191 (patch)
tree0d4aa4e79b105f1ea848df7e670d19bad404fb86 /actions/avatar/crop.php
parentfbbed3deaa0090173d398587cfea4af144d062a2 (diff)
downloadelgg-7eab6805b6cf3528066f772e501c9daff22cf191.tar.gz
elgg-7eab6805b6cf3528066f772e501c9daff22cf191.tar.bz2
fixed bugs in avatar cropping with remembering old crop coordinates and resizing the master
Diffstat (limited to 'actions/avatar/crop.php')
-rw-r--r--actions/avatar/crop.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/avatar/crop.php b/actions/avatar/crop.php
index 39061fa2c..6d71b6f06 100644
--- a/actions/avatar/crop.php
+++ b/actions/avatar/crop.php
@@ -23,6 +23,7 @@ $filehandler->setFilename("profile/" . $owner->guid . "master" . ".jpg");
$filename = $filehandler->getFilenameOnFilestore();
$icon_sizes = elgg_get_config('icon_sizes');
+unset($icon_sizes['master']);
// get the images and save their file handlers into an array
// so we can do clean up if one fails.