diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-15 20:30:59 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-16 19:53:04 -0500 |
commit | 87a7d965c87e882857fc759d765a9d6b2f01fafa (patch) | |
tree | 32053a81ceedf67f4655b266b98618752973347b /actions/avatar/crop.php | |
parent | 92c1bcd1355c2e4b661d0bb90f5492258815d329 (diff) | |
download | elgg-87a7d965c87e882857fc759d765a9d6b2f01fafa.tar.gz elgg-87a7d965c87e882857fc759d765a9d6b2f01fafa.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.php | 1 |
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. |