Skip to content

Commit

Permalink
Unexpected vartype in cast()
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaddade committed Mar 14, 2024
1 parent ef5d265 commit d105480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Watson/Foundation/Watson.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d105480

Please sign in to comment.