summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
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 0ffd5a731..8b5362c5d 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)");
}
}