Fix error message in Console\GlobalCommunityBlock
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 7 Jan 2019 18:27:28 +0000 (13:27 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 16:12:50 +0000 (11:12 -0500)
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'));