aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-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;