aboutsummaryrefslogtreecommitdiff
path: root/actions/avatar/crop.php
diff options
context:
space:
mode:
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.