bug:2933 make plain url when picture_url_style='id-file'

git-svn-id: http://piwigo.org/svn/trunk@23822 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-07-07 12:45:48 +00:00
parent d95425b9bb
commit 92134bc102

View file

@ -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':