From daaf98783f0914540978842a40d39e8137fd03d0 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 28 Oct 2017 07:11:06 -0700 Subject: [PATCH] Fixes status display in listing --- app/Presenters/AssetPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Presenters/AssetPresenter.php b/app/Presenters/AssetPresenter.php index d685dab938..d04b92a815 100644 --- a/app/Presenters/AssetPresenter.php +++ b/app/Presenters/AssetPresenter.php @@ -359,7 +359,7 @@ class AssetPresenter extends Presenter */ public function statusText() { - if ($this->model->assignedTo) { + if ($this->model->assignedTo()) { return trans('general.deployed'); } return $this->model->assetstatus->name;