From: Tim Düsterhus Date: Tue, 17 Dec 2013 15:20:26 +0000 (+0100) Subject: Fix wrong pageNo calculation in Exception search X-Git-Tag: 2.0.1~45^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53ce824edaa8a3b3529515d2c3caff455ed3ef7c;p=GitHub%2FWoltLab%2FWCF.git Fix wrong pageNo calculation in Exception search --- diff --git a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php index 514bef7fe6..71800cf120 100644 --- a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php @@ -174,7 +174,7 @@ Stacktrace: * @param string $exceptionID */ public function searchPage($exceptionID) { - $i = 0; + $i = 1; foreach ($this->exceptions as $key => $val) { if ($key == $exceptionID) break;