Permalink
Browse files

REmoved reset pointer array as foreach does not need it

  • Loading branch information...
1 parent 95d9e42 commit aedbeb3ca08cee73bae10956550d3fadc732690a unknown committed Aug 14, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 catalog/includes/classes/navigation_history.php
@@ -130,8 +130,7 @@ function filter_parameters($parameters) {
$clean = array();
if (is_array($parameters)) {
- reset($parameters);
- foreach($parameters as $key => $value) {
+ foreach($parameters as $key => $value) {
if (strpos($key, '_nh-dns') < 1) {
$clean[$key] = $value;
}

0 comments on commit aedbeb3

Please sign in to comment.