Refactored asset and location
This commit is contained in:
@@ -114,7 +114,7 @@ $sql = "SELECT asset_id, asset_name,
|
||||
WHERE assetclass_id=?
|
||||
ORDER BY asset_name";
|
||||
$sth = $dbh->prepare($sql);
|
||||
$sth->execute([$assetclass_id]);
|
||||
$sth->execute([$id]);
|
||||
$smarty->assign("assets", $sth->fetchAll(PDO::FETCH_ASSOC));
|
||||
|
||||
$smarty->display("assetclassview.tpl");
|
||||
|
||||
Reference in New Issue
Block a user