Update devices.php

This commit is contained in:
chansizzle 2020-01-21 14:21:34 -07:00 committed by GitHub
parent 31eaa4e8f9
commit 493c4bd33e
1 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008 - 2019
Portions created by the Initial Developer are Copyright (C) 2008 - 2020
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -196,12 +196,14 @@
//alternate_found
$device_alternate = false;
if (is_array($devices)) {
foreach($devices as $row) {
if (is_uuid($row['device_uuid_alternate'])) {
$device_alternate = true;
break;
}
}
}
//create token
$object = new token;