Commit 28b32e94 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Sip.php, Delete.php, QuickForm.php: Fixed broken Delete button.

parent 6d75b28b
...@@ -49,7 +49,7 @@ class Delete { ...@@ -49,7 +49,7 @@ class Delete {
$rc = false; $rc = false;
$msg = array(); $msg = array();
if (!isset($form[F_TABLE_NAME]) || $form[F_TABLE_NAME] === '') { if (!isset($form[F_TABLE_NAME]) || $form[F_TABLE_NAME] === '' || $form[F_TABLE_NAME] === false ) {
throw new CodeException('Missing table name', ERROR_MISSING_TABLE_NAME); throw new CodeException('Missing table name', ERROR_MISSING_TABLE_NAME);
} }
......
...@@ -194,8 +194,8 @@ class Sip { ...@@ -194,8 +194,8 @@ class Sip {
switch ($key) { switch ($key) {
case SIP_SIP: case SIP_SIP:
case SIP_TARGET_URL: case SIP_TARGET_URL:
case SIP_MODE_ANSWER: // case SIP_MODE_ANSWER:
case SIP_TABLE: // case SIP_TABLE:
case SIP_URLPARAM: case SIP_URLPARAM:
break; break;
default: default:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment