]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Module/Magic.php
authorMichael Vogel <icarus@dabo.de>
Tue, 16 May 2023 11:54:46 +0000 (13:54 +0200)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 11:54:46 +0000 (13:54 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Module/Magic.php

index f5f9b24a0501eede8ffc34182711fc33d80b8ccb..5276252de25c57930f5803f766a9effd10a3a3e5 100644 (file)
@@ -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);
                }