summaryrefslogtreecommitdiff
path: root/actions/avatar.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 15:14:12 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 15:14:12 -0400
commit52600ce0b063e68e622b19699841e41b5ddbf2d1 (patch)
treef19fcc9ed0834259d2e5ab2aa22758ddfb7f34a0 /actions/avatar.php
parent3f5ededc01d8eedac2a9a75917849fbe78a3e701 (diff)
trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
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);
}