diff --git a/lib/Watson/Foundation/Watson.php b/lib/Watson/Foundation/Watson.php index 0298131..0fff71a 100644 --- a/lib/Watson/Foundation/Watson.php +++ b/lib/Watson/Foundation/Watson.php @@ -136,7 +136,7 @@ public static function getRegisteredPageParam($param, $default = false) public static function saveRegisteredPageParams(array $providerParams) { - $watsonParams = \rex_request::session('watson_params', []); + $watsonParams = \rex_request::session('watson_params', 'array', []); foreach ($providerParams as $providerParam) { if (isset($_REQUEST[$providerParam])) { $watsonParams[$providerParam] = $_REQUEST[$providerParam];