Update src/Module/Magic.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
5782caba92
commit
f604ddacb5
|
@ -83,7 +83,7 @@ class Magic extends BaseModule
|
|||
$this->logger->debug('bdest detected', ['dest' => $dest]);
|
||||
}
|
||||
|
||||
if (!empty($addr ?: $dest)) {
|
||||
if ($addr ?: $dest) {
|
||||
$contact = Contact::getByURL($addr ?: $dest);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue