mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Fix error message in Console\GlobalCommunityBlock
This commit is contained in:
parent
57ab858486
commit
78931afa6f
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue