X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FMail.php;h=78dd6329ce4e4526ccf8ab1ccb17a76a7110fdec;hb=999c56a2845ba94cc7c6950a2c951fedc8c966b6;hp=a6cb8a0780e75fc60582321f40746119e3b04eb2;hpb=421a6296c206859eb36dbc1cf12aecff11c35525;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]); } } }