Commit d51db4c9 authored by Penny Leach's avatar Penny Leach
Browse files

fixed warning in smarty image path;

parent 0fccf160
......@@ -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']);
......
Markdown is supported
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