mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update dialplan_edit.php
Check if details is an array before using ksort.
This commit is contained in:
@@ -303,7 +303,9 @@
|
|||||||
$details[$group][$x]['dialplan_detail_order'] = $dialplan_detail_order;
|
$details[$group][$x]['dialplan_detail_order'] = $dialplan_detail_order;
|
||||||
}
|
}
|
||||||
//sort the details array by group number
|
//sort the details array by group number
|
||||||
ksort($details);
|
if (is_array($details)) {
|
||||||
|
ksort($details);
|
||||||
|
}
|
||||||
|
|
||||||
//show the header
|
//show the header
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user