From a9863ec5f7bb299401f86455a6f10a3f8bdb4b08 Mon Sep 17 00:00:00 2001 From: WENDLING NICOLAS Date: Sun, 28 Feb 2021 23:41:11 +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') diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 63d1d158f..09dea45d5 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