aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-19 13:34:29 -0800
committerredmatrix <git@macgirvin.com>2016-02-19 13:34:29 -0800
commit3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e (patch)
tree15f9293d67c0041bfa64a93b8acd5572f271a69a
parent8e586008dd8cceb02fc5378d11fce9673a0d5e41 (diff)
downloadvolse-hubzilla-3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e.tar.gz
volse-hubzilla-3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e.tar.bz2
volse-hubzilla-3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e.zip
get_feature_default() was using filtered view, preventing it from working in all cases
-rw-r--r--include/features.php2
1 files changed, 1 insertions, 1 deletions
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)