Update app_defaults.php
This commit is contained in:
@@ -28,8 +28,10 @@
|
|||||||
if ($domains_processed == 1) {
|
if ($domains_processed == 1) {
|
||||||
|
|
||||||
//set domains with enabled status of empty or null to true
|
//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";
|
$sql = "update v_domains set domain_enabled = 'true' ";
|
||||||
$db->exec(check_sql($sql));
|
$sql .= "where domain_enabled = '' or domain_enabled is null ";
|
||||||
|
$database = new database;
|
||||||
|
$database->execute($sql, null);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user