improve format for accessing datas of contact in conditionnal groups
This commit is contained in:
parent
f5d8bbd4a1
commit
b85d32640f
|
@ -117,7 +117,7 @@ namespace controllers\internals;
|
|||
$contact['datas'] = json_decode($contact['datas']);
|
||||
$contact = (object) $contact;
|
||||
|
||||
$datas = ['contact' => $contact];
|
||||
$datas = ['contact' => $contact->datas];
|
||||
$is_valid = $ruler->evaluate_condition($condition, $datas);
|
||||
if (!$is_valid)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue