Update dialplan_edit.php

Check if details is an array before using ksort.
This commit is contained in:
FusionPBX
2016-12-08 02:07:28 -07:00
committed by GitHub
parent c0c6883fbc
commit 7ffc680283

View File

@@ -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";