updateitem now only checks for asset tag for assets
This commit is contained in:
parent
190cd221a9
commit
e19a5c903d
@ -7,7 +7,7 @@ $from = $_POST['from'];
|
||||
require 'readfrom.php';
|
||||
|
||||
$id = $_POST['id'];
|
||||
if (is_empty($_POST['asset_tag'])) {
|
||||
if (is_empty($_POST['asset_tag']) && $from == 'assets') {
|
||||
sendError('Please fill in an asset tag.');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user