From: Joshua Rüsweg Date: Tue, 27 Aug 2019 11:37:50 +0000 (+0200) Subject: Fix selecting actions in ModificationLogListPage X-Git-Tag: 5.2.0_Beta_2~86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ae6b1853f694d641a31d8fb2db5e1f5f827c978;p=GitHub%2FWoltLab%2FWCF.git Fix selecting actions in ModificationLogListPage Closes #3058 --- 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)) {