mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:03:41 +00:00
Fix "!="
This commit is contained in:
parent
da349a1814
commit
abdcf7ca88
1 changed files with 1 additions and 1 deletions
|
@ -3017,7 +3017,7 @@ class Item
|
|||
|
||||
if (!Item::exists(['uri-id' => $item['parent-uri-id'], 'uid' => $uid])) {
|
||||
$parent_item = self::selectFirst(self::ITEM_FIELDLIST, ['uri-id' => $item['parent-uri-id'], 'uid' => 0]);
|
||||
if (!empty($parent_item) && ($parent_item['private'] =! self::PRIVATE)) {
|
||||
if (!empty($parent_item) && ($parent_item['private'] != self::PRIVATE)) {
|
||||
$stored = self::storeForUser($parent_item, $uid);
|
||||
Logger::info('Public item stored for user', ['uri-id' => $parent_item['uri-id'], 'uid' => $uid, 'stored' => $stored]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue