From ba3e3b615f5210c280575ed72c0230529f78ae86 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 9 Feb 2019 11:06:19 +0100 Subject: [PATCH] Show latest exceptions first on exception log page See #2831 --- .../install/files/lib/acp/page/ExceptionLogViewPage.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php index 48f880a46d..74848a5ca8 100644 --- a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php @@ -196,6 +196,9 @@ class ExceptionLogViewPage extends MultipleLinkPage { $matches['chain'] = $chainMatches; $this->exceptions[$key] = $matches; } + + // show latest exceptions first + $this->exceptions = array_reverse($this->exceptions, true); } /** -- 2.20.1