mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Only use call center queue-announce_frequency when it has a value
This commit is contained in:
@@ -270,7 +270,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
$sql .= "queue_abandoned_resume_allowed = '$queue_abandoned_resume_allowed', ";
|
||||
$sql .= "queue_cid_prefix = '$queue_cid_prefix', ";
|
||||
$sql .= "queue_announce_sound = '$queue_announce_sound', ";
|
||||
$sql .= "queue_announce_frequency = '$queue_announce_frequency', ";
|
||||
if (strlen($queue_announce_frequency) > 0) {
|
||||
$sql .= "queue_announce_frequency = '$queue_announce_frequency', ";
|
||||
}
|
||||
$sql .= "queue_description = '$queue_description' ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "and call_center_queue_uuid = '$call_center_queue_uuid'";
|
||||
|
||||
Reference in New Issue
Block a user