Skip to content

Commit 541bbc5

Browse files
committed
[bug-OpenMage#436] Undefined var $k in Mage_Core_Model_Url_Rewrite::removeTag()
1 parent a75b510 commit 541bbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Model/Url/Rewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function removeTag($tags)
171171

172172
$removeTags = is_array($tags) ? $tags : explode(',', $tags);
173173

174-
foreach ($removeTags as $t) {
174+
foreach ($removeTags as $k=>$t) {
175175
if (!is_numeric($k)) {
176176
$t = $k.'='.$t;
177177
}

0 commit comments

Comments
 (0)