diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-10-17 02:03:14 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-10-17 02:03:14 +0000 |
commit | 939cfe5e4bc2cb4a3229d1b3f08f6f86b8f348d1 (patch) | |
tree | 8646efbcff768888fbb78397b271e93554cec66f /include | |
parent | 6a3aed205772d73fc5cc60bc8877592fd17ba920 (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 'include')
-rw-r--r-- | include/functions_html.inc.php | 3 |
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-' : '&start='; + $start_str = $clean_url ? '/start-' : + ( ( strstr($url, '?')===false ? '?':'&') . 'start=' ); $navbar = ''; |