aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index e80e3cb3a..81c5f6009 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -792,8 +792,9 @@ function get_thumbnail_url($element_info)
$path = get_thumbnail_location($element_info);
if ( !url_is_remote($path) )
{
- $path = get_root_url().$path;
+ $path = embellish_url(get_root_url().$path);
}
+
// plugins want another url ?
$path = trigger_event('get_thumbnail_url', $path, $element_info);
return $path;