diff options
Diffstat (limited to 'lib/Db/Item.php')
-rw-r--r-- | lib/Db/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 2a2629d3d..040aa96a5 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->getSharedBy == '' && $this->getSharedWith == ''; + return $this->getSharedWith() != '' || $this->getSharedBy() != ''; } public function isUnread(): bool |