diff --git a/libraries/classes/Navigation/NavigationTree.php b/libraries/classes/Navigation/NavigationTree.php index 5301899ef8..979354b929 100644 --- a/libraries/classes/Navigation/NavigationTree.php +++ b/libraries/classes/Navigation/NavigationTree.php @@ -147,10 +147,10 @@ class NavigationTree if (isset($_REQUEST['aPath'])) { $this->aPath[0] = $this->parsePath($_REQUEST['aPath']); $this->pos2Name[0] = $_REQUEST['pos2_name'] ?? ''; - $this->pos2Value[0] = (int) $_REQUEST['pos2_value'] ?? 0; + $this->pos2Value[0] = (int) ($_REQUEST['pos2_value'] ?? 0); if (isset($_REQUEST['pos3_name'])) { $this->pos3Name[0] = $_REQUEST['pos3_name'] ?? ''; - $this->pos3Value[0] = (int) $_REQUEST['pos3_value'] ?? 0; + $this->pos3Value[0] = (int) ($_REQUEST['pos3_value'] ?? 0); } } else { if (isset($_POST['n0_aPath'])) {