diff options
author | Jimmy Huynh <jimmy.huynh@etu.unistra.fr> | 2021-01-26 18:18:39 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | 4294842a009800d84a0cc2056f83d48d5e678f37 (patch) | |
tree | 279d888f7a92034e11f5cf722148e869f0a190ec /lib/Db | |
parent | b402fddef9c1939aa501447bd6064449c4d41d3e (diff) |
(*) fix: item Model
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Db')
-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 |