aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/settings.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 5038a63c4..a31814bf0 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -589,10 +589,9 @@ function settings_content(&$a) {
if((argc() > 1) && (argv(1) === 'featured')) {
$settings_addons = "";
- $r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' ");
- // FIXME: This is always 0, even if there are plugin settings on this page
- // if(! count($r))
- // $settings_addons = t('No feature settings configured');
+ $r = q("SELECT * FROM `hook` WHERE `hook` = 'feature_settings' ");
+ if(! count($r))
+ $settings_addons = t('No feature settings configured');
call_hooks('feature_settings', $settings_addons);