From 592e82934740267fa768bb358f901fd40db39ba3 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 25 Jul 2023 22:44:03 +0200 Subject: [PATCH] Fix wrong field name in Model\Mail --- src/Model/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } } } -- 2.39.5