summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);