Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Commit

Permalink
RF-12052: Added in instance check to the AbstractTogglePanel#isActive…
Browse files Browse the repository at this point in the history
…Item method
  • Loading branch information
bleathem authored and Lukas Fryc committed Mar 22, 2012
1 parent 1231141 commit 0d4966c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ protected boolean isActiveItem(UIComponent kid) {
}

protected boolean isActiveItem(UIComponent kid, String value) {
if (kid == null || value == null) {
if (kid == null || value == null || ! (kid instanceof AbstractTogglePanelItemInterface)) {
return false;
}

Expand Down

0 comments on commit 0d4966c

Please sign in to comment.