A free open source IT asset/license management system
Removed extra else to make Codacy happy
snipe71b668e1a336
diff --git a/app/Presenters/ActionlogPresenter.php b/app/Presenters/ActionlogPresenter.phpindex 55374e2783..dc9629953c 100644--- a/app/Presenters/ActionlogPresenter.php+++ b/app/Presenters/ActionlogPresenter.php@@ -39,6 +39,8 @@ class ActionlogPresenter extends Presenterpublic function icon(){+ $itemicon = 'fa fa-paperclip';+if ($this->itemType() == "asset") {$itemicon = 'fa fa-barcode';} elseif ($this->itemType() == "accessory") {@@ -49,9 +51,7 @@ class ActionlogPresenter extends Presenter$itemicon = 'fa fa-floppy-o';} elseif ($this->itemType()=="component") {$itemicon = 'fa fa-hdd-o';- } else {- $itemicon = 'fa fa-paperclip';- }+ }return $itemicon;}