From 3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 19 Feb 2016 13:34:29 -0800 Subject: get_feature_default() was using filtered view, preventing it from working in all cases --- include/features.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/features.php') diff --git a/include/features.php b/include/features.php index d8b0be7d5..9c925bc35 100644 --- a/include/features.php +++ b/include/features.php @@ -25,7 +25,7 @@ function feature_enabled($uid,$feature) { } function get_feature_default($feature) { - $f = get_features(); + $f = get_features(false); foreach($f as $cat) { foreach($cat as $feat) { if(is_array($feat) && $feat[0] === $feature) -- cgit v1.2.3