master
lub 9 years ago
parent ca5bdc485a
commit 5994d3e7b5

@ -26,7 +26,7 @@ foreach($roots as $root) {
continue; continue;
} }
$i++; $i++;
if($delete == true AND $group['total_clients'] == 0 AND $i != 1) { if($delete == true AND $group['total_clients'] == 0) {
$group->delete(); $group->delete();
} }
if($group['total_clients'] == 0) { if($group['total_clients'] == 0) {

Loading…
Cancel
Save