diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-10-25 20:41:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-10-25 20:41:16 +0000 |
commit | dad013e52df75f279175cce2a4e9378ecc29843f (patch) | |
tree | b3ca62b1340850fff6fbbf51a101955ac11a0239 | |
parent | 248ae3a2e4356fd67311b297c9c27cd1e2899572 (diff) | |
download | brdo-dad013e52df75f279175cce2a4e9378ecc29843f.tar.gz brdo-dad013e52df75f279175cce2a4e9378ecc29843f.tar.bz2 |
- Patch #122759 by Robrecht: fixed broken query in upgrade path.
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 010f0922d..2ddfffb46 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -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); } } |