mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Tweak query in the License Importer to not require a Product Key
This commit is contained in:
parent
8ebade7892
commit
450cb8f92f
|
@ -32,7 +32,6 @@ class LicenseImporter extends ItemImporter
|
||||||
{
|
{
|
||||||
$editingLicense = false;
|
$editingLicense = false;
|
||||||
$license = License::where('name', $this->item['name'])
|
$license = License::where('name', $this->item['name'])
|
||||||
->where('serial', $this->item['serial'])
|
|
||||||
->first();
|
->first();
|
||||||
if ($license) {
|
if ($license) {
|
||||||
if (! $this->updating) {
|
if (! $this->updating) {
|
||||||
|
|
Loading…
Reference in a new issue