passing id to the avatar filename function

darcs-hash:20080605195500-84dde-307ed9c01b6efa0055908f408d3032ce7d7a9870.gz
This commit is contained in:
Evan Prodromou 2008-06-05 15:55:00 -04:00
parent bd4ec5d147
commit 6af287f554

View File

@ -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);