Update domains.php

This commit is contained in:
FusionPBX 2018-12-04 23:12:18 -07:00 committed by GitHub
parent 00b4d42fa6
commit add523c76f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -143,9 +143,10 @@
//get the domains
$sql = "select * from v_domains ";
if (strlen($search) > 0) {
$search = strtolower($search);
$sql .= "where (";
$sql .= " domain_name like '%".$search."%' ";
$sql .= " or domain_description like '%".$search."%' ";
$sql .= " lower(domain_name) like '%".$search."%' ";
$sql .= " or lower(domain_description) like '%".$search."%' ";
$sql .= ") ";
}
if (strlen($order_by) == 0) {