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

@@ -51,20 +51,19 @@
$ring_groups = $_POST['ring_groups'];
}
//process posted data by action
//process the http post data by action
if ($action != '' && is_array($ring_groups) && @sizeof($ring_groups) != 0) {
$obj = new ring_groups;
switch ($action) {
case 'copy':
$obj = new ring_groups;
$obj->copy($ring_groups);
break;
case 'toggle':
$obj = new ring_groups;
$obj->toggle($ring_groups);
break;
case 'delete':
$obj = new ring_groups;
$obj->delete($ring_groups);
break;
}