NodeAction: json_decode() $param#2 expects bool

This commit is contained in:
Sukhwinder Dhillon 2023-08-14 11:44:11 +02:00
parent f960d09cc2
commit ad3cb81dc9

View file

@ -144,7 +144,7 @@ abstract class NodeAction
*/
public static function unSerialize($string)
{
$object = json_decode($string, JSON_FORCE_OBJECT);
$object = json_decode($string, true);
$action = self::create($object['actionName'], $object['nodeName']);
foreach ($object['properties'] as $key => $val) {