diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-05-06 20:25:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-05-06 20:25:48 +0000 |
commit | 99e9f86862d40d7d72c58c6f6a44c786365b2dff (patch) | |
tree | bb9261a288f11b7d8ab2c40216bdbe0ace6edf5f | |
parent | 0e6221a192c704231405ae79cf924cdb3bc76f39 (diff) | |
download | brdo-99e9f86862d40d7d72c58c6f6a44c786365b2dff.tar.gz brdo-99e9f86862d40d7d72c58c6f6a44c786365b2dff.tar.bz2 |
- Patch #7575 by ax: not in global scope, making updates fail.
-rw-r--r-- | includes/database.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/database.inc b/includes/database.inc index aec692e5e..a7943a1f3 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -29,8 +29,7 @@ function db_prefix_tables($sql) { * @param $name The named connection specified in the $db_url variable. */ function db_set_active($name = 'default') { - global $db_url; - global $active_db; + global $db_url, $db_type, $active_db; static $db_conns; if (!isset($db_conns[$name])) { |