mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update privmsg.php
This commit is contained in:
parent
074e532f6b
commit
1613e00943
@ -894,7 +894,7 @@ else if ( $submit || $refresh || $mode != '' )
|
||||
{
|
||||
if ( !empty($_POST['username']) )
|
||||
{
|
||||
$to_userdata = get_userdata($_POST['username']);
|
||||
$to_userdata = get_userdata($_POST['username'], true);
|
||||
|
||||
if (!$to_userdata || $to_userdata['user_id'] == GUEST_UID)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user