Fixed errors in events.php
Join or disjoin event on profile (others and own) close #84