]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/GlobalCommunityBlock.php
Merge pull request #6746 from nupplaphil/issue/6338-notices
[friendica.git] / src / Core / Console / GlobalCommunityBlock.php
index d11aa6cf86ee0170be1f5a14fe007668739c7495..d99d99ceeaf86208919f04cd5d372fa39873d24b 100644 (file)
@@ -62,7 +62,7 @@ HELP;
 
                $contact_id = Contact::getIdForURL($this->getArgument(0));
                if (!$contact_id) {
-                       throw new \RuntimeException(L10n::t('Could not find any contact entry for this URL (%s)', $nurl));
+                       throw new \RuntimeException(L10n::t('Could not find any contact entry for this URL (%s)', $this->getArgument(0)));
                }
                if(Contact::block($contact_id)) {
                        $this->out(L10n::t('The contact has been blocked from the node'));