mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update the array name so that is_array evaluates to true.
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user