diff --git a/actions/avatarsettings.php b/actions/avatarsettings.php index a0be5d8f88..7dd53f6eb5 100644 --- a/actions/avatarsettings.php +++ b/actions/avatarsettings.php @@ -282,9 +282,9 @@ class AvatarsettingsAction extends AccountSettingsAction $cur = common_current_user(); $filename = Avatar::filename($cur->id, - image_type_to_extension($imagefile->type), - null, - 'tmp'.common_timestamp()); + image_type_to_extension($imagefile->type), + null, + 'tmp'.common_timestamp()); $filepath = Avatar::path($filename); diff --git a/actions/grouplogo.php b/actions/grouplogo.php index 650c952556..499db4ae8d 100644 --- a/actions/grouplogo.php +++ b/actions/grouplogo.php @@ -344,9 +344,9 @@ class GrouplogoAction extends Action } $filename = Avatar::filename($this->group->id, - image_type_to_extension($imagefile->type), - null, - 'group-temp-'.common_timestamp()); + image_type_to_extension($imagefile->type), + null, + 'group-temp-'.common_timestamp()); $filepath = Avatar::path($filename);