From 0cba82ce9c23ea4db141d2d5db3dcfcb4a4fe7dc Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 19 Sep 2016 15:09:19 +0200 Subject: if a feature category array has no items unset it --- include/features.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/features.php b/include/features.php index 1968a1f47..d1b38b48e 100644 --- a/include/features.php +++ b/include/features.php @@ -442,7 +442,7 @@ function get_features($filtered = true) { } } if(! $has_items) { - $narr[$k] = ''; + unset($narr[$k]); } } for($x = 0; $x < count($narr); $x ++) { -- cgit v1.2.3