diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index 9077a9d4..476018c9 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -1000,7 +1000,9 @@ PlaylistModule.prototype.refreshGoogleDocs = function (cb) { if (self.current) { self.current.media.meta.object = self.current.media.meta.object || null; } - cb(); + if (cb) { + cb(); + } }; if (!this.current || this.current.media.type !== "gd") {