fixes #2051 Editing an Event from a page throws Null Pointer Exception
Merge pull request #2941 from dotCMS/issue-2051-Editing-an-Event-from-a-page-throws-Null-Pointer

fixes #2051 Editing an Event from a page throws Null Pointer Exception