mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
Update provision.php
Prevent a warning on the provisioning class.
This commit is contained in:
@@ -779,7 +779,7 @@ include "root.php";
|
||||
//set the variables
|
||||
$types = array("line", "memory", "expansion", "programmable");
|
||||
foreach ($types as $type) {
|
||||
if (is_array($device_keys)) {
|
||||
if (is_array($device_keys[$type])) {
|
||||
foreach($device_keys[$type] as $row) {
|
||||
//set the variables
|
||||
$device_key_category = $row['device_key_category'];
|
||||
|
||||
Reference in New Issue
Block a user