diff --git a/views/bootstrap/class.AttributeGroupMgr.php b/views/bootstrap/class.AttributeGroupMgr.php index 16c0a655a..5d26172bd 100644 --- a/views/bootstrap/class.AttributeGroupMgr.php +++ b/views/bootstrap/class.AttributeGroupMgr.php @@ -245,14 +245,14 @@ $(document).ready( function() { print ""; $show = $group->getShow($member); $shows = array(); - for($i=0; $i<4; $i++) { - if(1 << $i & $show) - $shows[] = 1 << $i; + for($j=0; $j<4; $j++) { + if(1 << $j & $show) + $shows[] = 1 << $j; } print "
getID()."\" />getID()."\" />".createHiddenFieldWithKey('setshow'); echo " "; print "
"; print "";