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

View File

@@ -50,13 +50,12 @@
$xml_cdrs = $_POST['xml_cdrs'];
}
//process posted data by action
//process the http post data by action
if ($action != '' && is_array($xml_cdrs) && @sizeof($xml_cdrs) != 0) {
$obj = new xml_cdr;
switch ($action) {
case 'delete':
if (permission_exists('xml_cdr_delete')) {
$obj = new xml_cdr;
$obj->delete($xml_cdrs);
}
break;