Fixed. Thanks to Thomas.
This commit is contained in:
parent
c576689897
commit
e004744696
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user