summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 09dea45d5..f615a7555 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -292,7 +292,7 @@ class Item extends Entity implements IAPI, \JsonSerializable
public function isShared(): bool
{
- return $this->getSharedWith() !== '' || $this->getSharedBy() != '';
+ return $this->getSharedWith() !== '' || $this->getSharedBy() !== '';
}
public function isUnread(): bool