aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-17 02:03:14 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-17 02:03:14 +0000
commit939cfe5e4bc2cb4a3229d1b3f08f6f86b8f348d1 (patch)
tree8646efbcff768888fbb78397b271e93554cec66f /include/functions_html.inc.php
parent6a3aed205772d73fc5cc60bc8877592fd17ba920 (diff)
comments.php: cleanup url (t=1 in the url for an unknown reason) and image
urls work now with all url styles git-svn-id: http://piwigo.org/svn/trunk@1563 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_html.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 993c46dea..193127195 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -82,7 +82,8 @@ function create_navigation_bar(
global $lang, $conf;
$pages_around = $conf['paginate_pages_around'];
- $start_str = $clean_url ? '/start-' : '&amp;start=';
+ $start_str = $clean_url ? '/start-' :
+ ( ( strstr($url, '?')===false ? '?':'&amp;') . 'start=' );
$navbar = '';