Fix the new call timeout.

This commit is contained in:
Mark Crane 2013-04-02 22:58:09 +00:00
parent f3a49c39c1
commit ff19f6d64a
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('extension_toll')) { if (permission_exists('extension_toll')) {
$sql .= "toll_allow = '$toll_allow', "; $sql .= "toll_allow = '$toll_allow', ";
} }
if (strlen($call_timeout) == 0) { if (strlen($call_timeout) > 0) {
$sql .= "call_timeout = '$call_timeout', "; $sql .= "call_timeout = '$call_timeout', ";
} }
$sql .= "call_group = '$call_group', "; $sql .= "call_group = '$call_group', ";