fixed problem with some replies

This commit is contained in:
jeena 2013-09-04 20:23:14 +02:00
parent 512688f5ab
commit 91600015b9
2 changed files with 2 additions and 2 deletions

View file

@ -555,7 +555,7 @@ function(jQuery, APICalls, URI, HostApp) {
if(mentions) {
for (var j = 0; j < mentions.length; j++) {
var m = mentions[j];
if(m.entity.startsWith(e)) {
if(m && m.entity && m.entity.startsWith(e)) {
mentions_in_text.push({
entity: m.entity,
text: name