Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(5) { [1]=> string(1) "1" [2]=> string(1) "2" [3]=> string(1) "3" [6]=> string(1) "6" [7]=> string(1) "7" }
- foreach($fileReference as $key => $file) {
- // echo "TEST".$file->getAvailableForFEGrp()."<br>";
- if(in_array($file->getAvailableForFEGrp(),$userGroups))
- return true;
- else continue;
- }
Add Comment
Please, Sign In to add comment