Implode array before passing it to md5() - so far it 'worked' only because everyone else disabled error display

This commit is contained in:
jzaefferer 2010-09-21 22:25:01 +02:00
parent 11db1686c2
commit 7aab3129e5

View file

@ -69,7 +69,7 @@
}
// Send Etag hash
$hash = $lastmodified . '-' . md5($elements);
$hash = $lastmodified . '-' . md5(implode('', $elements));
header ("Etag: \"" . $hash . "\"");
if (isset($_SERVER['HTTP_IF_NONE_MATCH']) &&