From f6014567f33cfe046485c5ea0367caafd021a896 Mon Sep 17 00:00:00 2001 From: WENDLING NICOLAS Date: Sun, 28 Feb 2021 23:54:48 +0100 Subject: =?UTF-8?q?=F0=9F=97=91=20'!=3D'=20is=20discouraged,=20replaced=20?= =?UTF-8?q?by=20'!=3D=3D'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- lib/Db/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Db') 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 -- cgit v1.2.3