From c308e4cc7a55f470267d939dec148a829f57275a Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Tue, 21 Jun 2016 17:06:45 +0300 Subject: [PATCH] Fix. Provision for devices without (#1689) --- app/provision/resources/classes/provision.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/provision/resources/classes/provision.php b/app/provision/resources/classes/provision.php index 6ae40c38e2..fb83cb1b81 100644 --- a/app/provision/resources/classes/provision.php +++ b/app/provision/resources/classes/provision.php @@ -563,8 +563,7 @@ include "root.php"; } //get the list of contact directly assigned to the user - //get the user_uuid to find the contacts assigned to the user and the groups the user is a member of. - if (strlen($device_uuid) > 0 and strlen($domain_uuid) > 0) { + if (strlen($device_user_uuid) > 0 and strlen($domain_uuid) > 0) { //get the contacts assigned to the groups and add to the contacts array if ($_SESSION['provision']['contact_groups']['boolean'] == "true") { $this->contact_append($contacts, $line, $domain_uuid, $device_user_uuid, true);