mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:50:12 +00:00
Use default value for uid parameter in Contact::getIdForURL
This commit is contained in:
parent
01c7945b7a
commit
9f21e7f34f
5 changed files with 10 additions and 10 deletions
|
@ -384,7 +384,7 @@ function admin_page_contactblock_post(App $a)
|
|||
check_form_security_token_redirectOnErr('/admin/contactblock', 'admin_contactblock');
|
||||
|
||||
if (x($_POST, 'page_contactblock_block')) {
|
||||
$contact_id = Contact::getIdForURL($contact_url, 0);
|
||||
$contact_id = Contact::getIdForURL($contact_url);
|
||||
if ($contact_id) {
|
||||
Contact::block($contact_id);
|
||||
notice(L10n::t('The contact has been blocked from the node'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue