From 9b46a5b0f6f19543d4799dd88673695445317650 Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 29 Nov 2015 17:20:03 -0800 Subject: [PATCH] Fixes #1403 - hide checkout on asset model listing assets when nt deployable --- app/controllers/admin/ModelsController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/ModelsController.php b/app/controllers/admin/ModelsController.php index 35d1628d48..3625348fbb 100755 --- a/app/controllers/admin/ModelsController.php +++ b/app/controllers/admin/ModelsController.php @@ -479,9 +479,10 @@ class ModelsController extends AdminController $assets = $assets->skip($offset)->take($limit)->get(); $rows = array(); - $actions = ''; + foreach ($assets as $asset) { + $actions = ''; if ($asset->assetstatus) { if ($asset->assetstatus->deployable != 0) {