Skip to content

Commit

Permalink
[1.9] Avoid NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Apr 12, 2012
1 parent d33d924 commit 5171a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/content/firebug/chrome/chrome.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ function panelSupportsObject(panelType, object, context)


function getBestPanelName(object, context, panelName) function getBestPanelName(object, context, panelName)
{ {
if (!panelName) if (!panelName && context)
panelName = context.panelName; panelName = context.panelName;


// Check, if the panel type of the suggested panel supports the object, and if so, go with it // Check, if the panel type of the suggested panel supports the object, and if so, go with it
Expand Down

0 comments on commit 5171a0a

Please sign in to comment.