Fix wrong field name in Model\Mail

This commit is contained in:
Hypolite Petovan 2023-07-25 22:44:03 +02:00
parent e5b887b462
commit 592e829347
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}
}
}