mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 15:24:51 +00:00
Tidy
This commit is contained in:
@@ -25,4 +25,4 @@ if (!empty($asset_id)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Output
|
// Output
|
||||||
require_once('../delete_output.php');
|
require_once('../delete_output.php');
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if (isset($_GET['asset_id'])) {
|
|||||||
|
|
||||||
// Asset query via type
|
// Asset query via type
|
||||||
elseif (isset($_GET['asset_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");
|
$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
|
// Output
|
||||||
require_once("../read_output.php");
|
require_once("../read_output.php");
|
||||||
|
|||||||
Reference in New Issue
Block a user