Chyba po zapnutí modulu Calendar - Warning: continue targeting switch...

Verze pro tiskVerze pro tisk
Modul: 

Warning: "continue" targeting switch is equivalent to "break"

https://www.drupal.org/project/calendar/issues/3115959

je potřeba opravit kód v souboru modulu Date:

date/date_views/includes/date_views_fields.inc

na řádku 83 opravit text:

 

default:
// If this is not a date field, nothing more to do.
- continue;
+ break;
}

$revision = in_array($base, array('node_revision')) ? FIELD_LOAD_REVISION : FIELD_LOAD_CURRENT;