From: Evan Prodromou Date: Thu, 5 Jun 2008 19:55:00 +0000 (-0400) Subject: passing id to the avatar filename function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6af287f554f030f48fbdfc131c4a21571b54eb8f;p=quix0rs-gnu-social.git passing id to the avatar filename function darcs-hash:20080605195500-84dde-307ed9c01b6efa0055908f408d3032ce7d7a9870.gz --- diff --git a/classes/Profile.php b/classes/Profile.php index a2dfa1b050..b7bd2a2d92 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);