Commit 1e4941fe authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix an E_NOTICE caused when viewing 'my friends'

parent 8fedc37e
......@@ -22,9 +22,10 @@
function smarty_function_contextualhelp($params, &$smarty) {
$form = (isset($params['form'])) ? $params['form'] : null;
$element = (isset($params['element'])) ? $params['element'] : null;
$section = (isset($params['section'])) ? $params['section'] : null;
$ret = call_user_func_array('get_help_icon', array(
$params['plugintype'], $params['pluginname'], $form, $element, null, $params['section']));
$params['plugintype'], $params['pluginname'], $form, $element, null, $section));
// If there is an 'assign' parameter, place it into that instead.
if (!empty($params['assign'])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment