aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-04-08 01:35:02 +0000
committerrvelices <rv-github@modusoptimus.com>2008-04-08 01:35:02 +0000
commit3909b99f1e79e3383f3e08fecaf27b1c96287c9c (patch)
treebd4a8941bf5fe4d8c7d09ce3c9d0820aaef0be44 /include/functions_url.inc.php
parent4c92087d6b006fbee6203e035741ff190a9d4056 (diff)
- merge optimizitation of sql query (in section_init from trunk)
- stricter check of url in parse_section_url git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2301 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_url.inc.php')
-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 fb94cb4b4..ba55c4c0d 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -524,7 +524,7 @@ function parse_section_url( $tokens, &$next_token)
{
array_push($requested_tag_ids, $matches[1]);
}
- else
+ elseif ( !empty($tokens[$i]) )
{
array_push($requested_tag_url_names, $tokens[$i]);
}