mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update app_defaults.php
This commit is contained in:
@@ -28,8 +28,10 @@
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
//set domains with enabled status of empty or null to true
|
||||
$sql = "update v_domains set domain_enabled = 'true' where domain_enabled = '' or domain_enabled is null";
|
||||
$db->exec(check_sql($sql));
|
||||
$sql = "update v_domains set domain_enabled = 'true' ";
|
||||
$sql .= "where domain_enabled = '' or domain_enabled is null ";
|
||||
$database = new database;
|
||||
$database->execute($sql, null);
|
||||
unset($sql);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user