From: Hypolite Petovan Date: Tue, 25 Jul 2023 20:44:03 +0000 (+0200) Subject: Fix wrong field name in Model\Mail X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=592e82934740267fa768bb358f901fd40db39ba3;p=friendica.git Fix wrong field name in Model\Mail --- 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]); } } }