summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);