From: Thomas Müller Date: Mon, 4 Nov 2013 20:23:10 +0000 (+0100) Subject: use === X-Git-Tag: v6.0.0beta3~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7cb16aab1f100995a417e74111371835622478d;p=nextcloud-server.git use === --- diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index 3a8e703740f..0f57707f146 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -103,7 +103,7 @@ class Shared_Cache extends Cache { $data['encrypted'] = (bool)$data['encrypted']; $data['mimetype'] = $this->getMimetype($data['mimetype']); $data['mimepart'] = $this->getMimetype($data['mimepart']); - if ($data['storage_mtime'] == 0) { + if ($data['storage_mtime'] === 0) { $data['storage_mtime'] = $data['mtime']; } return $data;