aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-03-23 02:00:29 +0000
committerrvelices <rv-github@modusoptimus.com>2006-03-23 02:00:29 +0000
commit3d74b8cd023c37583e94d497502193120599e802 (patch)
treeb2f0c20f66d66b396db38d2595f22dbb05ddf8a9 /include/functions.inc.php
parent5c7d65500573ed52ea2fb1aff8a3218b524ea982 (diff)
small correction from previous commit
git-svn-id: http://piwigo.org/svn/trunk@1095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index da7991855..e09c12589 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1068,13 +1068,14 @@ function make_index_URL($params = array())
{
global $conf;
$url = get_root_url().'category';
- if ($conf['question_mark_in_urls'])
- {
- }
if ($conf['php_extension_in_urls'])
{
$url .= '.php';
}
+ if ($conf['question_mark_in_urls'])
+ {
+ $url .= '?';
+ }
$url.= make_section_in_URL($params);
$url = add_well_known_params_in_url($url, $params);
return $url;