diff --git a/include/text.php b/include/text.php index 7908ca9f22..a47e352bae 100644 --- a/include/text.php +++ b/include/text.php @@ -281,10 +281,9 @@ function paginate_data(&$a, $count=null) { if (($a->page_offset != "") AND !strstr($stripped, "&offset=")) $stripped .= "&offset=".urlencode($a->page_offset); - - if (strpos($stripped, "?") === 0) { - $pos = strpos($stripped, "&"); - $stripped = substr($stripped, 0, $pos)."?".substr($stripped, $pos + 1); + if (!strpos($stripped, "?")) { + if ($pos = strpos($stripped, "&")) + $stripped = substr($stripped, 0, $pos)."?".substr($stripped, $pos + 1); } $url = $a->get_baseurl() . '/' . $stripped; diff --git a/view/theme/vier/screenshot.jpg b/view/theme/vier/screenshot.jpg deleted file mode 100644 index f8e0bf8e66..0000000000 Binary files a/view/theme/vier/screenshot.jpg and /dev/null differ diff --git a/view/theme/vier/screenshot.png b/view/theme/vier/screenshot.png new file mode 100644 index 0000000000..224f6a03b4 Binary files /dev/null and b/view/theme/vier/screenshot.png differ