Update devices.php
This commit is contained in:
parent
31eaa4e8f9
commit
493c4bd33e
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
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.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -196,12 +196,14 @@
|
||||||
|
|
||||||
//alternate_found
|
//alternate_found
|
||||||
$device_alternate = false;
|
$device_alternate = false;
|
||||||
|
if (is_array($devices)) {
|
||||||
foreach($devices as $row) {
|
foreach($devices as $row) {
|
||||||
if (is_uuid($row['device_uuid_alternate'])) {
|
if (is_uuid($row['device_uuid_alternate'])) {
|
||||||
$device_alternate = true;
|
$device_alternate = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//create token
|
//create token
|
||||||
$object = new token;
|
$object = new token;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue