Browse Source

Bugfix: Problem with page switching with the old pager solved

pull/852/head
Michael Vogel 8 years ago
parent
commit
eca9431909
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/text.php

+ 1
- 1
include/text.php View File

@ -282,7 +282,7 @@ function paginate_data(&$a, $count=null) {
if (($a->page_offset != "") AND !strstr($stripped, "&offset="))
$stripped .= "&offset=".urlencode($a->page_offset);
if (!strstr($stripped, "?")) {
if (strpos($stripped, "?") === 0) {
$pos = strpos($stripped, "&");
$stripped = substr($stripped, 0, $pos)."?".substr($stripped, $pos + 1);
}


Loading…
Cancel
Save