]> source.dussan.org Git - nextcloud-server.git/commitdiff
use ===
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 4 Nov 2013 20:23:10 +0000 (21:23 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 4 Nov 2013 20:23:10 +0000 (21:23 +0100)
apps/files_sharing/lib/cache.php

index 3a8e703740ff7d60ad1808db97e4aedab848c272..0f57707f146e2073467ae28bddc32c5bbecf871e 100644 (file)
@@ -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;