Skip to content
GitLab
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
d51db4c9
Commit
d51db4c9
authored
Dec 05, 2006
by
Penny Leach
Browse files
fixed warning in smarty image path;
parent
0fccf160
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/smarty/plugins/function.image_path.php
View file @
d51db4c9
...
...
@@ -20,10 +20,9 @@
* @return Internationalized string
*/
function
smarty_function_image_path
(
$params
,
&
$smarty
)
{
static
$dictionary
;
if
(
!
isset
(
$
theme
[
'pluginlocation'
]))
{
$
theme
[
'pluginlocation'
]
=
''
;
if
(
!
isset
(
$
params
[
'pluginlocation'
]))
{
$
params
[
'pluginlocation'
]
=
''
;
}
return
theme_get_image_path
(
$params
[
'imagelocation'
],
$params
[
'pluginlocation'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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