Could it be that you have more than 1 object in $protectionGroup ?
If yes, you would have to loop through each element in the array.
Could it be that you have more than 1 object in $protectionGroup ?
If yes, you would have to loop through each element in the array.