From 4e221419f77fd048c191ef4dcd45de86654568a2 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 3 Aug 2016 09:54:13 +0200 Subject: [PATCH] fix variable mess $i has been used several times for different usages --- views/bootstrap/class.AttributeGroupMgr.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 "";