aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-07-07 12:45:48 +0000
committermistic100 <mistic@piwigo.org>2013-07-07 12:45:48 +0000
commit92134bc10200f2528cb7c22e4a5ed17c3886c1e6 (patch)
tree673a67a83a9065784ab3e11ea544fb94a4142cd4
parentd95425b9bba002fa2817a4e0fa61edf721c88c45 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/functions_url.inc.php2
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':