Update privmsg.php

This commit is contained in:
Roman Kelesidis 2023-11-18 09:51:03 +07:00
parent 074e532f6b
commit 1613e00943

View File

@ -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)
{