Quick fixes from YuriD, upgrade tables had the wrong col name for

Loge's todo patches.
This commit is contained in:
sjb4891 2000-10-30 00:08:57 +00:00
parent a446c26d4c
commit 4e97fc7c7c
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@
$db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0])
. "','" . addslashes($newsetting[1]) . "')");
}
echo "<center>Your config has been updated<br><a href=\"".$newsettings["webserver_url"]."/login.php"\">Click here to login</a>";
echo "<center>Your config has been updated<br><a href='".$newsettings["webserver_url"]."/login.php'>Click here to login</a>";
}
$db->query("select * from config");

View File

@ -287,7 +287,7 @@
$currentver = "0.9.3pre3";
}
if ($currentver == "0.9.3pre3") {
$db->query("alter table todo add todo_parent_id int(11) DEFAULT '0' NOT NULL");
$db->query("alter table todo add todo_id_parent int(11) DEFAULT '0' NOT NULL");
$currentver = "0.9.3pre4";
}

View File

@ -276,7 +276,7 @@
$currentver = "0.9.3pre3";
}
if ($currentver == "0.9.3pre3") {
$db->query("alter table todo add todo_parent_id int DEFAULT 0 NOT NULL");
$db->query("alter table todo add todo_id_parent int DEFAULT 0 NOT NULL");
$currentver = "0.9.3pre4";
}