Update app_defaults.php
This commit is contained in:
parent
0fef717961
commit
83efb46e8e
|
|
@ -27,11 +27,11 @@
|
||||||
//process this only one time
|
//process this only one time
|
||||||
if ($domains_processed == 1) {
|
if ($domains_processed == 1) {
|
||||||
|
|
||||||
//set domains with enabled status of empty or null to true
|
//set domain enable to true
|
||||||
$sql = "update v_domains set domain_enabled = 'true' ";
|
$sql = "update v_domains set domain_enabled = 'true' ";
|
||||||
$sql .= "where domain_enabled = '' or domain_enabled is null ";
|
$sql .= "where domain_enabled is null ";
|
||||||
$database->execute($sql, null);
|
$database->execute($sql, null);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue