Compatibility with PHP 5.4

This commit is contained in:
Manuel Cillero 2017-07-26 20:05:10 +02:00
parent d12eba903d
commit 2f77223658
3 changed files with 6 additions and 2 deletions

View file

@ -200,7 +200,8 @@ class calendar_plugin_display_attachment extends views_plugin_display_attachment
* Perform any necessary changes to the form values prior to storage.
* There is no need for this function to actually store the data.
*/
function options_submit($form, &$form_state) {
# function options_submit($form, &$form_state) {
function options_submit(&$form, &$form_state) {
// It is very important to call the parent function here:
parent::options_submit($form, $form_state);
switch ($form_state['section']) {