Minor syntax fix spotted in dry run now activate.

This commit is contained in:
FusionPBX
2017-01-14 14:39:05 -07:00
committed by GitHub
parent 7c93ac7901
commit 0601c4ad71

View File

@@ -417,10 +417,10 @@ if (!class_exists('domains')) {
if ($row['default_setting_uuid'] != $setting['default_setting_uuid']) {
$sql = "update v_default_settings ";
$sql .= "set default_setting_uuid = '".$setting['default_setting_uuid']."', ";
$sql .= "app_uuid = '".$setting['app_uuid']."', ";
$sql .= "app_uuid = '".$setting['app_uuid']."' ";
$sql .= "where default_setting_uuid = '".$row['default_setting_uuid']."';";
echo $sql."\n";
// $this->db->exec(check_sql($sql));
//echo $sql."\n";
$this->db->exec(check_sql($sql));
}
//remove settings from the array that were found
@@ -463,8 +463,8 @@ if (!class_exists('domains')) {
}
$i++;
}
echo $sql;
// $this->db->exec(check_sql($sql));
//echo $sql;
$this->db->exec(check_sql($sql));
unset($array);
}
} //end settings method