X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FMail.php;h=78dd6329ce4e4526ccf8ab1ccb17a76a7110fdec;hb=f2c1ecd19bb344137a91faab58d9a2524e0c8893;hp=a6cb8a0780e75fc60582321f40746119e3b04eb2;hpb=cc86a54c80325cb324623d1ace3131148f0b4c77;p=friendica.git diff --git a/src/Model/Mail.php b/src/Model/Mail.php index a6cb8a0780..78dd6329ce 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -233,7 +233,7 @@ class Mail foreach ($images as $image) { $image_rid = Photo::ridFromURI($image); if (!empty($image_rid)) { - Photo::update(['allow-cid' => '<' . $recipient . '>'], ['resource-id' => $image_rid, 'album' => 'Wall Photos', 'uid' => $sender_uid]); + Photo::update(['allow_cid' => '<' . $recipient . '>'], ['resource-id' => $image_rid, 'album' => 'Wall Photos', 'uid' => $sender_uid]); } } }