diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js
index d240ebd9..231e9716 100644
--- a/code/portal_detail_display.js
+++ b/code/portal_detail_display.js
@@ -142,8 +142,11 @@ window.renderPortalDetails = function(guid) {
'
' + linkDetails.join('') + '
'
);
-
- runHooks('portalDetailsUpdated', {guid: guid, portal: portal, portalDetails: details, portalData: data});
+ // only run the hooks when we have a portalDetails object - most plugins rely on the extended data
+ // TODO? another hook to call always, for any plugins that can work with less data?
+ if (details) {
+ runHooks('portalDetailsUpdated', {guid: guid, portal: portal, portalDetails: details, portalData: data});
+ }
}