Skip to content

Commit

Permalink
REmoved reset pointer array as foreach does not need it
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Aug 14, 2011
1 parent 95d9e42 commit aedbeb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions catalog/includes/classes/navigation_history.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit aedbeb3

Please sign in to comment.