clear not needed callbook credentials

This commit is contained in:
HB9HIL
2024-01-30 11:28:19 +01:00
parent 27ce0eb24d
commit e70870ffa8

View File

@@ -160,7 +160,11 @@ class Core
if ($data['global_call_lookup'] == 'qrz') {
$new = str_replace("%qrz_username%", $data['callbook_username'], $new);
$new = str_replace("%qrz_password%", $data['callbook_password'], $new);
$new = str_replace("%hamqth_username%", '', $new);
$new = str_replace("%hamqth_password%", '', $new);
} else {
$new = str_replace("%qrz_username%", '', $new);
$new = str_replace("%qrz_password%", '', $new);
$new = str_replace("%hamqth_username%", $data['callbook_username'], $new);
$new = str_replace("%hamqth_password%", $data['callbook_password'], $new);
}