mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change app_defaults so it uses the new database_driver field.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user