diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
commit | c2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch) | |
tree | 5d2d92a31480405b8c10c3b85927049238528242 /update.php | |
parent | 13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff) | |
download | brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.gz brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.bz2 |
- Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski.
- Removed dependency on "register_globals = on"! Patches by Michael Frankowski.
Notes:
+ Updated the patches to use $foo["bar"] instead of $foo['bar'].
+ Updated the INSTALL and CHANGELOG files as well.
- Tiny improvement to the "./scripts/code-clean.sh" script.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/update.php b/update.php index e9e3fc3b4..8b595c385 100644 --- a/update.php +++ b/update.php @@ -739,7 +739,7 @@ function update_upgrade3() { */ function update_sql($sql) { - global $edit; + $edit = $_POST["edit"]; print nl2br(htmlentities($sql)) ." "; $result = db_query($sql); if ($result) { @@ -767,7 +767,10 @@ function update_data($start) { } function update_page() { - global $op, $edit, $user, $mysql_updates; + global $user, $mysql_updates; + + $op = $_POST["op"]; + $edit = $_POST["edit"]; switch ($op) { case "Update": |