Fix a spelling mistake for empty
This commit is contained in:
@@ -522,7 +522,7 @@
|
|||||||
//assign the device to the extension(s)
|
//assign the device to the extension(s)
|
||||||
if (is_array($device_addresses) && @sizeof($device_addresses) != 0) {
|
if (is_array($device_addresses) && @sizeof($device_addresses) != 0) {
|
||||||
foreach ($device_addresses as $d => $device_address) {
|
foreach ($device_addresses as $d => $device_address) {
|
||||||
if (!emtpy($device_address)) {
|
if (!empty($device_address)) {
|
||||||
//get the device vendor
|
//get the device vendor
|
||||||
if (isset($device_templates[$d])) {
|
if (isset($device_templates[$d])) {
|
||||||
//use the the template to get the vendor
|
//use the the template to get the vendor
|
||||||
|
|||||||
Reference in New Issue
Block a user