summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-16 22:24:52 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-16 22:24:52 +0000
commit8fa32017624ffd0fd570975da371a517480ec692 (patch)
treea4425a0863378b5e4fc3446916f029cfcaafab34 /update.php
parentf6da12ca19f5dff391a025b33889b34e42b692c3 (diff)
downloadbrdo-8fa32017624ffd0fd570975da371a517480ec692.tar.gz
brdo-8fa32017624ffd0fd570975da371a517480ec692.tar.bz2
- Fixed type: "form" -> "forum". Patch by Ulf Rompe.
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 7918d7387..d180034da 100644
--- a/update.php
+++ b/update.php
@@ -675,7 +675,7 @@ function update_50() {
}
function update_51() {
- update_sql("ALTER TABLE form ADD tid INT UNSIGNED NOT NULL");
+ update_sql("ALTER TABLE forum ADD tid INT UNSIGNED NOT NULL");
$result = db_queryd("SELECT n.nid, t.tid FROM node n, term_node t WHERE n.nid = t.nid AND type = 'forum'");
while ($node = db_fetch_object($result)) {
db_queryd("UPDATE forum SET tid = '%d' WHERE nid = '%d'", $node->tid, $node->nid);