Update event.php

Wrong variable spelling