aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;