X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile.php;h=db8326f0f6959dbd090e39dda6ef7bfe1f77e60e;hb=b53e1439969bfa2c0b551d8cc2fc8fe15652c62a;hp=a944d5b4d23f5768c6d4ffcd4ade2b21b61b79a8;hpb=46a41f48cad4d08e6f3d0d02bc1874e1130d59c0;p=quix0rs-gnu-social.git diff --git a/classes/Profile.php b/classes/Profile.php index a944d5b4d2..db8326f0f6 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -160,7 +160,7 @@ class Profile extends Managed_DataObject return $this->getGroup()->setOriginal($filename); } - $imagefile = new ImageFile($this->id, Avatar::path($filename)); + $imagefile = new ImageFile(null, Avatar::path($filename)); $avatar = new Avatar(); $avatar->profile_id = $this->id;