diff --git a/inc/field/actorfield.class.php b/inc/field/actorfield.class.php index 971ead864..8a9648bf0 100644 --- a/inc/field/actorfield.class.php +++ b/inc/field/actorfield.class.php @@ -360,6 +360,10 @@ public function parseAnswerValues($input, $nonDestructive = false): bool { return true; } + if (is_string($input[$key])) { + // value from a saved answer + $input[$key] = json_decode($input[$key], JSON_OBJECT_AS_ARRAY); + } if (!is_array($input[$key])) { return false; }