Update dialplans.php

This commit is contained in:
FusionPBX 2019-11-04 22:04:22 -07:00 committed by GitHub
parent 5a31e3f541
commit 28b5400b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@
//get the list of dialplans
$sql = str_replace('count(*)', '*', $sql);
$sql .= ($order_by != '' ? order_by($order_by, $order) : 'order by dialplan_order asc, dialplan_name asc ');
$sql .= limit_offset($rows_per_page, $offset);
$database = new database;
$dialplans = $database->select($sql, $parameters, 'all');
unset($sql, $parameters);