Merge pull request #853 from annando/master
Bugfix of the previous bugfix :)
This commit is contained in:
commit
68e0324c1b
3 changed files with 3 additions and 4 deletions
|
@ -281,9 +281,8 @@ function paginate_data(&$a, $count=null) {
|
||||||
|
|
||||||
if (($a->page_offset != "") AND !strstr($stripped, "&offset="))
|
if (($a->page_offset != "") AND !strstr($stripped, "&offset="))
|
||||||
$stripped .= "&offset=".urlencode($a->page_offset);
|
$stripped .= "&offset=".urlencode($a->page_offset);
|
||||||
|
if (!strpos($stripped, "?")) {
|
||||||
if (strpos($stripped, "?") === 0) {
|
if ($pos = strpos($stripped, "&"))
|
||||||
$pos = strpos($stripped, "&");
|
|
||||||
$stripped = substr($stripped, 0, $pos)."?".substr($stripped, $pos + 1);
|
$stripped = substr($stripped, 0, $pos)."?".substr($stripped, $pos + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 76 KiB |
BIN
view/theme/vier/screenshot.png
Normal file
BIN
view/theme/vier/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 KiB |
Loading…
Reference in a new issue