mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
improve logging clarity
This commit is contained in:
parent
eda5bbf305
commit
00fd541963
|
@ -38,7 +38,13 @@ class LicenseImporter extends ItemImporter
|
|||
->first();
|
||||
if ($license) {
|
||||
if (! $this->updating) {
|
||||
$this->log('A matching License '.$this->item['name'].' with serial '.$this->item['serial'].' already exists');
|
||||
|
||||
if($this->item['serial'] != "") {
|
||||
$this->log('A matching License ' . $this->item['name'] . ' with serial ' . $this->item['serial'] . ' already exists');
|
||||
}
|
||||
else {
|
||||
$this->log('A matching License ' . $this->item['name'] . ' with no serial number already exists');
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue