Change app_defaults so it uses the new database_driver field.

This commit is contained in:
Mark Crane
2012-07-17 16:16:07 +00:00
parent c344400c82
commit b8f85393a9

View File

@@ -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) {