Skip to content
Snippets Groups Projects
Commit 82539942 authored by Thomas Müller's avatar Thomas Müller
Browse files

using array_diff_assoc to detect diffs in values as well

parent f619f59f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment