From: Michael Vogel Date: Tue, 16 May 2023 11:54:46 +0000 (+0200) Subject: Update src/Module/Magic.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f604ddacb5c668fc246741c56b64e2cae2f144bf;p=friendica.git Update src/Module/Magic.php Co-authored-by: Hypolite Petovan --- 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); }