From 055e4167f7caac2165d4eb983ae3609c9c6d25d2 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Wed, 3 Jun 2015 10:09:17 +0200 Subject: [PATCH] add getDefaultContext to ManageEvent form --- CRM/Event/Form/ManageEvent.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CRM/Event/Form/ManageEvent.php b/CRM/Event/Form/ManageEvent.php index e462d1744e..b2ab7e3541 100644 --- a/CRM/Event/Form/ManageEvent.php +++ b/CRM/Event/Form/ManageEvent.php @@ -94,6 +94,13 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { return 'Event'; } + /** + * Explicitly declare the form context. + */ + public function getDefaultContext() { + return 'create'; + } + /** * Set variables up before form is built. * -- 2.25.1