Commit dad013e5 authored by Dries's avatar Dries
Browse files

- Patch #122759 by Robrecht: fixed broken query in upgrade path.

parent 248ae3a2
......@@ -1269,7 +1269,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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment