diff --git a/api/v1/assets/delete.php b/api/v1/assets/delete.php index 7228e027..3c0a7b72 100644 --- a/api/v1/assets/delete.php +++ b/api/v1/assets/delete.php @@ -25,4 +25,4 @@ if (!empty($asset_id)) { } // Output -require_once('../delete_output.php'); \ No newline at end of file +require_once('../delete_output.php'); diff --git a/api/v1/assets/read.php b/api/v1/assets/read.php index 3ff4f0a8..45a636cd 100644 --- a/api/v1/assets/read.php +++ b/api/v1/assets/read.php @@ -11,7 +11,7 @@ if (isset($_GET['asset_id'])) { // Asset query via type elseif (isset($_GET['asset_type'])) { - $type = mysqli_real_escape_string($mysqli,ucfirst($_GET['asset_type'])); + $type = mysqli_real_escape_string($mysqli, ucfirst($_GET['asset_type'])); $sql = mysqli_query($mysqli, "SELECT * FROM assets WHERE asset_type = '$type' AND asset_client_id LIKE '$client_id' AND company_id = '$company_id' ORDER BY asset_id LIMIT $limit OFFSET $offset"); } @@ -39,4 +39,4 @@ else { } // Output -require_once("../read_output.php"); \ No newline at end of file +require_once("../read_output.php");