fixed PHP warnings
This commit is contained in:
parent
1b9022c5f6
commit
e19b78ac13
@ -45,6 +45,9 @@ class widget_indexer extends fs_filelister {
|
||||
else
|
||||
$params = array();
|
||||
// $var = 'plugin_' . $newid . '_widget';
|
||||
if (!array_key_exists($newid, $fp_registered_widgets)) {
|
||||
continue;
|
||||
}
|
||||
$var = $fp_registered_widgets [$newid] ['func'];
|
||||
if (is_callable($var)) {
|
||||
$content = call_user_func_array($var, $params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user