Skip to content

Commit

Permalink
Merge pull request #183 from borianm/patch-1
Browse files Browse the repository at this point in the history
Fix for issue #182
  • Loading branch information
DoctorMcKay authored Oct 21, 2017
2 parents 6049d7a + e0320b2 commit 6abb14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ SteamCommunity.prototype.getAllGroupAnnouncements = function(gid, time, callback
headline: announcement.title[0],
content: announcement.description[0],
date: new Date(announcement.pubDate[0]),
author: announcement.author[0],
author: (typeof announcement.author === 'undefined') ? null : announcement.author[0],
aid: splitLink[splitLink.length - 1]
}
}).filter(function(announcement) {
Expand Down

0 comments on commit 6abb14a

Please sign in to comment.