if a feature category array has no items unset it
This commit is contained in:
parent
eb7db62a64
commit
0cba82ce9c
@ -442,7 +442,7 @@ function get_features($filtered = true) {
|
||||
}
|
||||
}
|
||||
if(! $has_items) {
|
||||
$narr[$k] = '';
|
||||
unset($narr[$k]);
|
||||
}
|
||||
}
|
||||
for($x = 0; $x < count($narr); $x ++) {
|
||||
|
Reference in New Issue
Block a user