diff options
author | Jeroen <jeroenpraat@xs4all.nl> | 2014-09-12 14:31:02 +0000 |
---|---|---|
committer | Jeroen <jeroenpraat@xs4all.nl> | 2014-09-12 14:31:02 +0000 |
commit | e0047446964cc038e68df824755af8bc57359ecf (patch) | |
tree | 7b9c406b7aaa0cb435ea41cf38fb0ce0d885b740 /mod/settings.php | |
parent | c576689897db774b8c569105e22b0c23caff1a43 (diff) | |
download | volse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.tar.gz volse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.tar.bz2 volse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.zip |
Fixed. Thanks to Thomas.
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 7 |
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); |