Should be refactored to make the Action logger into a base class and to use polymorphic relationships for the IDs, and migrate accessory_id into asset_id in the log table. This was quick and dirty.
This commit is contained in:
snipe
2015-04-29 16:14:08 -07:00
parent bce06543b2
commit a0fce2e0fb
28 changed files with 95 additions and 25 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ class AssetsController extends AdminController
$data['log_id'] = $logaction->id;
$data['eula'] = $asset->getEula();
$data['first_name'] = $user->first_name;
$data['item_name'] = $asset->assetNameForEula();
$data['item_name'] = $asset->showAssetName();
$data['require_acceptance'] = $asset->requireAcceptance();