mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 11:13:50 +00:00
Update dialplans.php
This commit is contained in:
@@ -165,7 +165,8 @@
|
||||
$offset = $rows_per_page * $page;
|
||||
|
||||
//get the list of dialplans
|
||||
$sql = str_replace('count(*)', '*', $sql);
|
||||
$sql = "select count(*) from v_dialplans ";
|
||||
$sql .= $sql_where;
|
||||
$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;
|
||||
|
||||
Reference in New Issue
Block a user