Skip to content
Snippets Groups Projects
Unverified Commit 3a1ed2d9 authored by yashodha's avatar yashodha Committed by GitHub
Browse files

Merge pull request #25251 from eileenmcnaughton/event_info

Unconditionally assign `registerClosed` on event info page
parents f9b82268 597e8070
No related branches found
No related tags found
No related merge requests found
......@@ -280,10 +280,8 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page {
$this->assign('registerURL', $url);
}
}
elseif (CRM_Core_Permission::check('register for events')) {
$this->assign('registerClosed', TRUE);
}
}
$this->assign('registerClosed', !empty($values['event']['is_online_registration']) && !$isEventOpenForRegistration);
$this->assign('allowRegistration', $allowRegistration);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment