summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-05-06 20:25:48 +0000
committerDries Buytaert <dries@buytaert.net>2004-05-06 20:25:48 +0000
commit99e9f86862d40d7d72c58c6f6a44c786365b2dff (patch)
treebb9261a288f11b7d8ab2c40216bdbe0ace6edf5f /includes
parent0e6221a192c704231405ae79cf924cdb3bc76f39 (diff)
downloadbrdo-99e9f86862d40d7d72c58c6f6a44c786365b2dff.tar.gz
brdo-99e9f86862d40d7d72c58c6f6a44c786365b2dff.tar.bz2
- Patch #7575 by ax: not in global scope, making updates fail.
Diffstat (limited to 'includes')
-rw-r--r--includes/database.inc3
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])) {