diff options
Diffstat (limited to 'include/functions_url.inc.php')
-rw-r--r-- | include/functions_url.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php index 56ea858e1..2e56c67c9 100644 --- a/include/functions_url.inc.php +++ b/include/functions_url.inc.php @@ -234,7 +234,7 @@ function make_picture_url($params) $url .= $params['image_id']; if ( isset($params['image_file']) ) { - $url .= '-'.get_filename_wo_extension($params['image_file']); + $url .= '-'.str2url(get_filename_wo_extension($params['image_file'])); } break; case 'file': |