Permalink
Browse files

[1.9] Avoid NPE

  • Loading branch information...
janodvarko committed Apr 12, 2012
1 parent d33d924 commit 5171a0a246bdedd4d9692a0b2a3eee2d429c6baf
Showing with 1 addition and 1 deletion.
  1. +1 −1 extension/content/firebug/chrome/chrome.js
@@ -1680,7 +1680,7 @@ function panelSupportsObject(panelType, object, context)
function getBestPanelName(object, context, panelName)
{
- if (!panelName)
+ if (!panelName && context)
panelName = context.panelName;
// Check, if the panel type of the suggested panel supports the object, and if so, go with it

0 comments on commit 5171a0a

Please sign in to comment.