From eadc04471280622bd18844af787b5d5f3254f7f1 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 2 Dec 2013 17:53:22 +0000 Subject: [PATCH] don't try and request portal detailed data for a 'null' guid! oops --- code/portal_detail_display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index b349775a..9c26ea59 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -5,7 +5,7 @@ window.renderPortalDetails = function(guid) { selectPortal(window.portals[guid] ? guid : null); - if (!portalDetail.isFresh(guid)) { + if (guid && !portalDetail.isFresh(guid)) { portalDetail.request(guid); }