Merge pull request #371 from erAck/master

fix #367 - do not specialize numeric tag to 'id-tag' URL
This commit is contained in:
Damien Sorel
2015-12-14 14:42:38 +01:00
+2 -2
View File
@@ -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;
}
?>
?>