aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@erack.de>2015-11-08 19:34:37 +0100
committerEike Rathke <erack@erack.de>2015-11-08 20:06:01 +0100
commita8381737bde8d2adce1f106c93430abea0f20476 (patch)
treefbb32f9ea482f229a73f349a353b45e930fcae89 /include
parentbfe4ff3e2fee4dabb2b459d2ce077ab7e92a2e39 (diff)
fix #367 - do not specialize numeric tag to 'id-tag' URL
Apparently there is no reason in make_section_in_url() to "escape" a numeric URL for a tags section if tag_url_style is 'tag'. In parse_section_url() tag_url_style is checked, and if 'tag' the URL token is used.
Diffstat (limited to '')
-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
+?>