summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-11-04 21:23:10 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-11-04 21:23:10 +0100
commita7cb16aab1f100995a417e74111371835622478d (patch)
tree9bd1488dc2d50718bf82f109a49f00c2dc0b41e5
parent0f266d0f62315c4362f936ff6d0fb146c438ce65 (diff)
downloadnextcloud-server-a7cb16aab1f100995a417e74111371835622478d.tar.gz
nextcloud-server-a7cb16aab1f100995a417e74111371835622478d.zip
use ===
-rw-r--r--apps/files_sharing/lib/cache.php2
1 files changed, 1 insertions, 1 deletions
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;