1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2023-01-07 21:02:23 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class mcp_notes
$userrow = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
if (!$userrow)
if (!$userrow || (int) $userrow['user_id'] === ANONYMOUS)
{
trigger_error('NO_USER');
}