summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-31 10:40:26 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-31 10:40:26 +0000
commit3c7d0f95759bd09842c40c3ac31574623fec02ff (patch)
tree12aeba371729dc805c067dc8bc11f3acad6191e3 /update.php
parent84ad17f73b6b75ff569db3e053830b9406582b70 (diff)
downloadbrdo-3c7d0f95759bd09842c40c3ac31574623fec02ff.tar.gz
brdo-3c7d0f95759bd09842c40c3ac31574623fec02ff.tar.bz2
- Fixed typo. Patch by Marco.
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)");
}
}