Compare commits
1 commit
develop
...
mat/event-
Author | SHA1 | Date | |
---|---|---|---|
|
5902bd67b6 |
1 changed files with 1 additions and 1 deletions
|
@ -1078,7 +1078,7 @@ class Item
|
|||
}
|
||||
|
||||
if ($item['origin']) {
|
||||
if (Photo::setPermissionFromBody($item['body'], $item['uid'], $item['contact-id'], $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid'])) {
|
||||
if (($item['object-type'] != Activity\ObjectType::EVENT) && Photo::setPermissionFromBody($item['body'], $item['uid'], $item['contact-id'], $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid'])) {
|
||||
$item['object-type'] = Activity\ObjectType::IMAGE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue