From a24c8260b1d048dc6a0836eb1be9a1ca2056e770 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Mon, 18 Apr 2016 23:25:51 +0100 Subject: [PATCH] [SS-2016-004] FIX Store current page IDs as ints --- admin/code/LeftAndMain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index 226fa5853..9b23f2821 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -1469,6 +1469,7 @@ class LeftAndMain extends Controller implements PermissionProvider { * @param int $id */ public function setCurrentPageID($id) { + $id = (int)$id; Session::set($this->sessionNamespace() . ".currentPage", $id); }