Permalink
Browse files

Implode array before passing it to md5() - so far it 'worked' only be…

…cause everyone else disabled error display
  • Loading branch information...
1 parent 11db168 commit 7aab3129e5957d367f137b28f71f8a82fd3642c5 @jzaefferer jzaefferer committed Sep 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 combine.php
View
@@ -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']) &&

1 comment on commit 7aab312

@scottjehl
Contributor

nice. thanks.

Please sign in to comment.