mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
improve format for accessing datas of contact in conditionnal groups
This commit is contained in:
parent
f5d8bbd4a1
commit
b85d32640f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue