- Patch #122759 by Robrecht: fixed broken query in upgrade path.
parent
51955a6835
commit
18342abc53
|
@ -1385,7 +1385,7 @@ function system_update_120() {
|
|||
list(, $page, $op, $uid) = explode('/', $alias->src);
|
||||
if ($page == 'feed') {
|
||||
$new = "blog/$uid/feed";
|
||||
update_sql("UPDATE {url_alias} SET src = '%s' WHERE pid = '%s'", $new, $alias->pid);
|
||||
db_query("UPDATE {url_alias} SET src = '%s' WHERE pid = %d", $new, $alias->pid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue