List Views: Minor adjustments to code.

This commit is contained in:
Nate
2019-11-30 14:18:00 -07:00
parent 34adf14ed9
commit aa593c03fc
28 changed files with 102 additions and 129 deletions
+1 -3
View File
@@ -50,7 +50,7 @@
$extensions = $_POST['extensions'];
}
//process posted data by action
//process the http post data by action
if ($action != '' && is_array($extensions) && @sizeof($extensions) != 0) {
switch ($action) {
case 'toggle_call_forward':
@@ -59,14 +59,12 @@
$obj->toggle($extensions);
}
break;
case 'toggle_follow_me':
if (permission_exists('follow_me')) {
$obj = new follow_me;
$obj->toggle($extensions);
}
break;
case 'toggle_do_not_disturb':
if (permission_exists('do_not_disturb')) {
$obj = new do_not_disturb;