Fixing URL in taxonomy path update (taxonomy/terms -> taxonomy/term).

4.5.x
Steven Wittens 2004-09-01 11:45:24 +00:00
parent d441752dba
commit 9d517a7340
1 changed files with 2 additions and 2 deletions

View File

@ -1257,10 +1257,10 @@ function update_98() {
if ($page == 'feed' || $page == 'page') { if ($page == 'feed' || $page == 'page') {
switch ($op) { switch ($op) {
case 'or': case 'or':
$new = 'taxonomy/terms/'. str_replace(',', '+', $terms); $new = 'taxonomy/term/'. str_replace(',', '+', $terms);
break; break;
case 'and': case 'and':
$new = 'taxonomy/terms/'. $terms; $new = 'taxonomy/term/'. $terms;
break; break;
} }
if ($new) { if ($new) {