]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
passing id to the avatar filename function
authorEvan Prodromou <evan@prodromou.name>
Thu, 5 Jun 2008 19:55:00 +0000 (15:55 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 5 Jun 2008 19:55:00 +0000 (15:55 -0400)
darcs-hash:20080605195500-84dde-307ed9c01b6efa0055908f408d3032ce7d7a9870.gz

classes/Profile.php

index a2dfa1b0500ac571af52dc2cc606c96d346c2159..b7bd2a2d9293260525fae5f53958e40e5ed8417e 100644 (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);