mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Merge pull request #371 from erAck/master
fix #367 - do not specialize numeric tag to 'id-tag' URL
This commit is contained in:
@@ -379,7 +379,7 @@ function make_section_in_url($params)
|
||||
$section_string.= '/'.$tag['id'];
|
||||
break;
|
||||
case 'tag':
|
||||
if (isset($tag['url_name']) and !is_numeric($tag['url_name']) )
|
||||
if (isset($tag['url_name']))
|
||||
{
|
||||
$section_string.= '/'.$tag['url_name'];
|
||||
break;
|
||||
@@ -824,4 +824,4 @@ function url_is_remote($url)
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user