@@ -227,6 +227,7 @@ class TagHistory extends CatchController
$labelArray=explode(',',$otherlabel);
foreach($labelArray as $item){
+ $otherWhere=[];
$otherWhere[]=["mac","=",$othermac];
$otherWhere[]=["lable","=",trim($item)];