We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b98682 commit bef68ffCopy full SHA for bef68ff
main/inc/ajax/message.ajax.php
@@ -36,6 +36,7 @@
36
}
37
break;
38
case 'get_count_message':
39
+ api_block_anonymous_users(false);
40
$userId = api_get_user_id();
41
$invitations = MessageManager::getMessagesCountForUser($userId);
42
header('Content-type:application/json');
0 commit comments