]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Merge pull request #13580 from annando/fetch-async
[friendica.git] / 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]);
                                        }
                                }
                        }