mirror of
https://github.com/itflow-org/itflow
synced 2026-03-03 12:24:51 +00:00
Merge pull request #453 from wrongecho/mesh
Remove meshcentral references in api
This commit is contained in:
@@ -66,11 +66,6 @@ if(isset($_POST['asset_notes'])){
|
|||||||
} else{
|
} else{
|
||||||
$notes = '';
|
$notes = '';
|
||||||
}
|
}
|
||||||
if(isset($_POST['asset_meshcentral_id'])){
|
|
||||||
$meshcentral_id = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['asset_meshcentral_id'])));
|
|
||||||
} else{
|
|
||||||
$meshcentral_id = '';
|
|
||||||
}
|
|
||||||
if(isset($_POST['asset_vendor_id'])){
|
if(isset($_POST['asset_vendor_id'])){
|
||||||
$vendor = intval($_POST['asset_vendor_id']);
|
$vendor = intval($_POST['asset_vendor_id']);
|
||||||
} else{
|
} else{
|
||||||
|
|||||||
@@ -79,11 +79,6 @@ if(!empty($asset_id)){
|
|||||||
} else{
|
} else{
|
||||||
$notes = $row['asset_notes'];
|
$notes = $row['asset_notes'];
|
||||||
}
|
}
|
||||||
if(isset($_POST['asset_meshcentral_id'])){
|
|
||||||
$meshcentral_id = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['asset_meshcentral_id'])));
|
|
||||||
} else{
|
|
||||||
$meshcentral_id = $row['asset_meshcentral_id'];
|
|
||||||
}
|
|
||||||
if(isset($_POST['asset_vendor_id'])){
|
if(isset($_POST['asset_vendor_id'])){
|
||||||
$vendor = intval($_POST['asset_vendor_id']);
|
$vendor = intval($_POST['asset_vendor_id']);
|
||||||
} else{
|
} else{
|
||||||
|
|||||||
Reference in New Issue
Block a user