diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 15:52:01 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 15:52:01 -0400 |
commit | 466f0489c364441c125dffe6c9040bf6fcafd043 (patch) | |
tree | 273f4599d8322545a8c831489ffde3c4c876c069 /actions/avatar.php | |
parent | 850bfc0a35bfb0dbfcb9ba4d7eb859f35224bc07 (diff) |
fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
Diffstat (limited to 'actions/avatar.php')
-rw-r--r-- | actions/avatar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/avatar.php b/actions/avatar.php index 8a4557f38..0b1025a3c 100644 --- a/actions/avatar.php +++ b/actions/avatar.php @@ -123,7 +123,7 @@ class AvatarAction extends SettingsAction { $avatar->filename = $filename; $avatar->original = true; $avatar->url = common_avatar_url($filename); - + $avatar->created = date(DATE_RFC822); # current time foreach (array(AVATAR_PROFILE_SIZE, AVATAR_STREAM_SIZE, AVATAR_MINI_SIZE) as $size) { $scaled[] = $this->scale_avatar($user, $avatar, $size); } @@ -181,6 +181,7 @@ class AvatarAction extends SettingsAction { $scaled->mediatype = ($avatar->mediattype == 'image/jpeg') ? 'image/jpeg' : 'image/png'; $scaled->filename = $filename; $scaled->url = common_avatar_url($filename); + $scaled->created = date(DATE_RFC822); # current time return $scaled; } |