mirror of https://github.com/itflow-org/itflow
Tidy
This commit is contained in:
parent
35560c579b
commit
d34c26d176
|
|
@ -25,4 +25,4 @@ if (!empty($asset_id)) {
|
|||
}
|
||||
|
||||
// Output
|
||||
require_once('../delete_output.php');
|
||||
require_once('../delete_output.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");
|
||||
require_once("../read_output.php");
|
||||
|
|
|
|||
Loading…
Reference in New Issue