From 6af287f554f030f48fbdfc131c4a21571b54eb8f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 5 Jun 2008 15:55:00 -0400 Subject: passing id to the avatar filename function darcs-hash:20080605195500-84dde-307ed9c01b6efa0055908f408d3032ce7d7a9870.gz --- classes/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/Profile.php') diff --git a/classes/Profile.php b/classes/Profile.php index a2dfa1b05..b7bd2a2d9 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -81,7 +81,7 @@ class Profile extends DB_DataObject return NULL; } - $filename = common_avatar_filename($this, + $filename = common_avatar_filename($this->id, image_type_to_extension($info[2]), NULL, common_timestamp()); $filepath = common_avatar_path($filename); -- cgit v1.2.3-54-g00ecf