diff --git a/client_network_edit_modal.php b/client_network_edit_modal.php index f334b73a..32eff29b 100644 --- a/client_network_edit_modal.php +++ b/client_network_edit_modal.php @@ -2,13 +2,13 @@ @@ -37,7 +37,7 @@
- + @@ -47,7 +47,7 @@
- + @@ -57,7 +57,7 @@
- + @@ -67,7 +67,7 @@
- diff --git a/client_networks.php b/client_networks.php index a27144c6..bf2b1e6c 100644 --- a/client_networks.php +++ b/client_networks.php @@ -1,9 +1,3 @@ - - - - \ No newline at end of file diff --git a/post.php b/post.php index 0b9be798..b0fd2532 100644 --- a/post.php +++ b/post.php @@ -4968,16 +4968,14 @@ if(isset($_GET['network_get_json_details'])){ $network_id = intval($_GET['network_id']); $client_id = intval($_GET['client_id']); - $network_sql = mysqli_query($mysqli,"SELECT * FROM networks - WHERE network_id = $network_id - AND network_client_id = $client_id"); + $network_sql = mysqli_query($mysqli,"SELECT * FROM networks WHERE network_id = $network_id AND network_client_id = $client_id"); while($row = mysqli_fetch_array($network_sql)){ $response['network'][] = $row; } - $locations_sql = mysqli_query($mysqli, "SELECT location_id, location_name FROM locations - WHERE location_client_id = '$client_id' - AND company_id = '$session_company_id'"); + $locations_sql = mysqli_query($mysqli, "SELECT location_id, location_name FROM locations + WHERE location_client_id = '$client_id' AND company_id = '$session_company_id'" + ); while($row = mysqli_fetch_array($locations_sql)){ $response['locations'][] = $row; }