summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-10-25 20:41:16 +0000
committerDries Buytaert <dries@buytaert.net>2007-10-25 20:41:16 +0000
commitdad013e52df75f279175cce2a4e9378ecc29843f (patch)
treeb3ca62b1340850fff6fbbf51a101955ac11a0239
parent248ae3a2e4356fd67311b297c9c27cd1e2899572 (diff)
downloadbrdo-dad013e52df75f279175cce2a4e9378ecc29843f.tar.gz
brdo-dad013e52df75f279175cce2a4e9378ecc29843f.tar.bz2
- Patch #122759 by Robrecht: fixed broken query in upgrade path.
-rw-r--r--modules/system/system.install2
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);
}
}