master
lub 9 years ago
parent ca5bdc485a
commit 5994d3e7b5

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

Loading…
Cancel
Save