From e01c325d4ff7adc07d552907f7fb7fdddc56f9b0 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> Date: Sun, 26 Mar 2006 18:19:04 +0000 Subject: [PATCH] #42000, misssing underscore, found by rump --- includes/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/database.inc b/includes/database.inc index fa2d6d2ad5ab..c7903ef16d55 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -132,7 +132,7 @@ function db_set_active($name = 'default') { // Set the active connection. $active_db = $db_conns[$name]; - return array_search($previousdb, $db_conns); + return array_search($previous_db, $db_conns); } /** -- GitLab