From 0ae6b1853f694d641a31d8fb2db5e1f5f827c978 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 27 Aug 2019 13:37:50 +0200 Subject: [PATCH] Fix selecting actions in ModificationLogListPage Closes #3058 --- .../files/lib/acp/page/ModificationLogListPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/page/ModificationLogListPage.class.php b/wcfsetup/install/files/lib/acp/page/ModificationLogListPage.class.php index 94a53bd795..97fbb8aa35 100644 --- a/wcfsetup/install/files/lib/acp/page/ModificationLogListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ModificationLogListPage.class.php @@ -192,7 +192,7 @@ class ModificationLogListPage extends SortablePage { $packageID = 0; // an integer signals all actions from the package with the relevant id - if ($this->action == intval($this->action)) { + if ($this->action == strval(intval($this->action))) { $packageID = $this->action; } else if (preg_match('~^(?P.+)\-(?P[^\-]+)$~', $this->action, $matches)) { -- 2.20.1