From b8f85393a902b675323a431d55f69af59c19f8f3 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 17 Jul 2012 16:16:07 +0000 Subject: [PATCH] Change app_defaults so it uses the new database_driver field. --- core/databases/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/databases/app_defaults.php b/core/databases/app_defaults.php index 4c9f3cb626..26c5c884a3 100644 --- a/core/databases/app_defaults.php +++ b/core/databases/app_defaults.php @@ -51,7 +51,7 @@ if (strlen($_SESSION['switch']['scripts']['dir']) > 0) { //get the odbc information $sql = "select count(*) as num_rows from v_databases "; - $sql .= "where database_type = 'odbc' "; + $sql .= "where database_driver = 'odbc' "; if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; } $prep_statement = $db->prepare($sql); if ($prep_statement) {