summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-05 15:55:00 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-05 15:55:00 -0400
commit6af287f554f030f48fbdfc131c4a21571b54eb8f (patch)
treed7e4792083400c7fa0f032f1ce066a36625367f2
parentbd4ec5d1479902f6c16a6e56ac190d015cdd3b30 (diff)
passing id to the avatar filename function
darcs-hash:20080605195500-84dde-307ed9c01b6efa0055908f408d3032ce7d7a9870.gz
-rw-r--r--classes/Profile.php2
1 files changed, 1 insertions, 1 deletions
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);