]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong field name in Model\Mail
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 20:44:03 +0000 (22:44 +0200)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 20:44:03 +0000 (22:44 +0200)
src/Model/Mail.php

index a6cb8a0780e75fc60582321f40746119e3b04eb2..78dd6329ce4e4526ccf8ab1ccb17a76a7110fdec 100644 (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]);
                                        }
                                }
                        }