Commit 7937f601 authored by dpi's avatar dpi

Fixed incorrect default value for default access.

parent 011f2c23
......@@ -142,7 +142,7 @@ class EventDateProvider implements EventDateProviderInterface {
*/
function getDefaultAccess($entity_type_id, $bundle) {
$event_type = $this->eventManager->eventType($entity_type_id, $bundle);
return $event_type->getThirdPartySetting('rng_date_scheduler', 'default_access', 0);
return $event_type->getThirdPartySetting('rng_date_scheduler', 'default_access', FALSE);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment