CRM_Event_Page_ManageEvent - Fix static warning

Also: Preventively fix bad cache logic (The helper function would run in two modes -- with different values for $enableCart -- but would only store one cache value.)