mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Fix wrong field name in Model\Mail
This commit is contained in:
parent
e5b887b462
commit
592e829347
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class Mail
|
||||||
foreach ($images as $image) {
|
foreach ($images as $image) {
|
||||||
$image_rid = Photo::ridFromURI($image);
|
$image_rid = Photo::ridFromURI($image);
|
||||||
if (!empty($image_rid)) {
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue