A free open source IT asset/license management system
Allow users to set a blank asset name during checkout
Marcus Moore181f96ad336f
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex 266285677f..f8e0cab314 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -316,14 +316,10 @@ class Asset extends Depreciable}$this->last_checkout = $checkout_at;+ $this->name = $name;$this->assignedTo()->associate($target);-- if ($name != null) {- $this->name = $name;- }-if ($location != null) {$this->location_id = $location;} else {