aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Sorel <mistic100@users.noreply.github.com>2015-12-14 14:42:38 +0100
committerDamien Sorel <mistic100@users.noreply.github.com>2015-12-14 14:42:38 +0100
commit5a6f37edf9fbaf4de3823658d302f83193d58793 (patch)
treef3326b597a9999192cdc26d1963694e3930ee3d0
parent16f6a54fa719cc79ff942e4bb8139d7ca09ed997 (diff)
parenta8381737bde8d2adce1f106c93430abea0f20476 (diff)
Merge pull request #371 from erAck/master
fix #367 - do not specialize numeric tag to 'id-tag' URL
-rw-r--r--include/functions_url.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php
index 138a895e1..e0f09a28c 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -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;
}
-?> \ No newline at end of file
+?>