diff --git a/client_contacts.php b/client_contacts.php index e9548af6..ee87cc07 100644 --- a/client_contacts.php +++ b/client_contacts.php @@ -25,11 +25,11 @@ if (isset($_GET['tags']) && is_array($_GET['tags']) && !empty($_GET['tags'])) { // Location Filter if (isset($_GET['location']) & !empty($_GET['location'])) { $location_query = 'AND (contact_location_id = ' . intval($_GET['location']) . ')'; - $location = intval($_GET['location']); + $location_filter = intval($_GET['location']); } else { // Default - any $location_query = ''; - $location = ''; + $location_filter = ''; } //Rebuild URL @@ -110,7 +110,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
- " autofocus> + " autofocus>
@@ -134,8 +129,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
@@ -152,8 +147,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - + - + diff --git a/modals/client_add_modal.php b/modals/client_add_modal.php index 9e6290c3..4f9b5338 100644 --- a/modals/client_add_modal.php +++ b/modals/client_add_modal.php @@ -2,7 +2,7 @@