From 78931afa6f54fc4895a83afde45d42ce363dfe59 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 7 Jan 2019 13:27:28 -0500 Subject: [PATCH] Fix error message in Console\GlobalCommunityBlock --- src/Core/Console/GlobalCommunityBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Console/GlobalCommunityBlock.php b/src/Core/Console/GlobalCommunityBlock.php index d11aa6cf86..d99d99ceea 100644 --- a/src/Core/Console/GlobalCommunityBlock.php +++ b/src/Core/Console/GlobalCommunityBlock.php @@ -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'));