Multiple exception bug fixes identified during testing
This commit is contained in:
@@ -295,9 +295,13 @@ class NodelistImport implements ShouldQueue
|
||||
|
||||
// We'll search and see if we already have that system
|
||||
} else {
|
||||
$so = System::where('mailer_address',$address)
|
||||
->where('mailer_port',$port)
|
||||
->single();
|
||||
// If we dont have $address/port
|
||||
$so = NULL;
|
||||
|
||||
if ($address && $port)
|
||||
$so = System::where('mailer_address',$address)
|
||||
->where('mailer_port',$port)
|
||||
->single();
|
||||
|
||||
if (! $so)
|
||||
$so = System::where('name',$system)
|
||||
|
Reference in New Issue
Block a user