Skip to content
Snippets Groups Projects
Commit 76e88077 authored by Uma's avatar Uma
Browse files

Fixes #1402 mentions without username

parent d35f659b
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,10 @@ class Vtiger_MentionedUsers_Action extends Vtiger_Action_Controller {
unset($mentionedUsers[$key]);
}
$usersString = '@'.implode(' @', $mentionedUsers);
$mentionedUsersData['usersString'] = $usersString.' ';
if(!empty($mentionedUsers)){
$usersString = '@'.implode(' @', $mentionedUsers);
$mentionedUsersData['usersString'] = $usersString.' ';
}
$response = new Vtiger_Response();
$response->setResult($mentionedUsersData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment