Update app_defaults.php
This commit is contained in:
parent
964129ea3f
commit
7e1a9d0424
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue