- Fixed typo in upgrade script

4.5.x
Dries Buytaert 2004-09-14 20:15:03 +00:00
parent 9c9905d9a0
commit d3fff02f06
1 changed files with 1 additions and 1 deletions

View File

@ -1756,7 +1756,7 @@ function update_105() {
$shadowupdates = db_query("SELECT nid,tid FROM {forum} WHERE shadow=0");
while ($shadowrecord = db_fetch_object($shadowupdates)) {
db_query("DELETE FROM term_node WHERE nid = %d AND tid <> %d", $shadowrecord->nid, $shadowrecord-tid);
db_query("DELETE FROM term_node WHERE nid = %d AND tid <> %d", $shadowrecord->nid, $shadowrecord->tid);
}
$ret[] = update_sql("ALTER TABLE {forum} DROP shadow");