From f604ddacb5c668fc246741c56b64e2cae2f144bf Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 16 May 2023 13:54:46 +0200 Subject: [PATCH] Update src/Module/Magic.php Co-authored-by: Hypolite Petovan --- src/Module/Magic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Magic.php b/src/Module/Magic.php index f5f9b24a05..5276252de2 100644 --- a/src/Module/Magic.php +++ b/src/Module/Magic.php @@ -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); } -- 2.39.5