improve format for accessing datas of contact in conditionnal groups

This commit is contained in:
Your Name 2020-06-09 23:33:16 +02:00
parent f5d8bbd4a1
commit b85d32640f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{