Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1e4941fe
Commit
1e4941fe
authored
Aug 21, 2007
by
Nigel McNie
Browse files
Fix an E_NOTICE caused when viewing 'my friends'
parent
8fedc37e
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/smarty/plugins/function.contextualhelp.php
View file @
1e4941fe
...
...
@@ -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'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment