From 3c7d0f95759bd09842c40c3ac31574623fec02ff Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 31 Dec 2002 10:40:26 +0000 Subject: [PATCH] - Fixed typo. Patch by Marco. --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.php b/update.php index 0ffd5a731cf1..8b5362c5defc 100644 --- a/update.php +++ b/update.php @@ -657,7 +657,7 @@ function update_47() { } function update_48() { - if ($max = db_result(db_query("SELECT MAX(tid) FROM vocabulary"))) { + if ($max = db_result(db_query("SELECT MAX(vid) FROM vocabulary"))) { update_sql("REPLACE INTO sequences VALUES ('vocabulary', $max)"); } } -- GitLab