summaryrefslogtreecommitdiff
path: root/actions/avatar.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/avatar.php')
-rw-r--r--actions/avatar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/avatar.php b/actions/avatar.php
index 43f02a88d..33b5452d0 100644
--- a/actions/avatar.php
+++ b/actions/avatar.php
@@ -129,7 +129,7 @@ class AvatarAction extends SettingsAction {
$avatar->created = DB_DataObject_Cast::dateTime(); # current time
$val = $avatar->validate();
-
+
if ($val !== TRUE) {
$err = '';
foreach ($val as $k=>$v) {
@@ -138,7 +138,7 @@ class AvatarAction extends SettingsAction {
return;
}
}
-
+
foreach (array(AVATAR_PROFILE_SIZE, AVATAR_STREAM_SIZE, AVATAR_MINI_SIZE) as $size) {
$scaled[] = $this->scale_avatar($user, $avatar, $size);
}