diff --git a/invoices.php b/invoices.php index 0b499074..18d32f02 100644 --- a/invoices.php +++ b/invoices.php @@ -8,9 +8,11 @@ $order = "DESC"; if (isset($_GET['client_id'])) { require_once "includes/inc_all_client.php"; $client_query = "AND invoice_client_id = $client_id"; + $client_url = "client_id=$client_id&"; } else { require_once "includes/inc_all.php"; $client_query = ''; + $client_url = ''; } // Perms @@ -164,7 +166,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));