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) {
|
||||
$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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue