mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 17:33:48 +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;
|
||||
}
|
||||
//sort the details array by group number
|
||||
ksort($details);
|
||||
if (is_array($details)) {
|
||||
ksort($details);
|
||||
}
|
||||
|
||||
//show the header
|
||||
require_once "resources/header.php";
|
||||
|
||||
Reference in New Issue
Block a user