Skip to content

A free open source IT asset/license management system

Tweak query in the License Importer to not require a Product Key

Ivan Nieto Vivanco450cb8f92f4e
diff --git a/app/Importer/LicenseImporter.php b/app/Importer/LicenseImporter.php
index 627e6ae5f1..94adbd5ee5 100644
--- a/app/Importer/LicenseImporter.php
+++ b/app/Importer/LicenseImporter.php
@@ -32,7 +32,6 @@ class LicenseImporter extends ItemImporter
{
$editingLicense = false;
$license = License::where('name', $this->item['name'])
- ->where('serial', $this->item['serial'])
->first();
if ($license) {
if (! $this->updating) {