mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-02 14:19:59 +03:00
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:
parent
d95425b9bb
commit
92134bc102
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ function make_picture_url($params)
|
||||||
$url .= $params['image_id'];
|
$url .= $params['image_id'];
|
||||||
if ( isset($params['image_file']) )
|
if ( isset($params['image_file']) )
|
||||||
{
|
{
|
||||||
$url .= '-'.get_filename_wo_extension($params['image_file']);
|
$url .= '-'.str2url(get_filename_wo_extension($params['image_file']));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'file':
|
case 'file':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue