Update the array name so that is_array evaluates to true.
This commit is contained in:
parent
131d96b60c
commit
dc8f9146ba
|
|
@ -579,7 +579,7 @@
|
|||
$sql .= "dialplan_order asc ";
|
||||
$database = new database;
|
||||
$results = $database->select($sql, $parameters, 'all');
|
||||
if (is_array($result) && @sizeof($result) != 0) {
|
||||
if (is_array($results) && @sizeof($results) != 0) {
|
||||
foreach ($results as $row) {
|
||||
$dialplans[$row["dialplan_uuid"]] = $row["dialplan_xml"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue