diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-25 12:40:31 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-25 12:40:31 +0200 |
commit | 8253994262ef6a8965551a0e1e58b89fce33db1d (patch) | |
tree | a3bfc71169197c502d7526e77db11f58f4e3a1e0 | |
parent | f619f59f1cffc594f466a94293b1424a6ac28ade (diff) | |
download | nextcloud-server-8253994262ef6a8965551a0e1e58b89fce33db1d.tar.gz nextcloud-server-8253994262ef6a8965551a0e1e58b89fce33db1d.zip |
using array_diff_assoc to detect diffs in values as well
-rw-r--r-- | lib/private/files/cache/scanner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index 4868bb7a3fb..3fd92c97e6b 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -142,7 +142,7 @@ class Scanner extends BasicEmitter { } } // Only update metadata that has changed - $newData = array_diff($data, $cacheData); + $newData = array_diff_assoc($data, $cacheData); if (isset($newData['etag'])) { $cacheDataString = print_r($cacheData, true); $dataString = print_r($data, true); |