Fix the fax server paging.
This commit is contained in:
parent
07d9e95d04
commit
b61a57eef7
|
|
@ -77,8 +77,9 @@ require_once "resources/paging.php";
|
|||
$sql .= "and f.domain_uuid = '".$_SESSION['domain_uuid']."' ";
|
||||
$sql .= "and u.user_uuid = '".$_SESSION['user_uuid']."' ";
|
||||
}
|
||||
if ($prep_statement) {
|
||||
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
if ($row['num_rows'] > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue