Compatibility with PHP 5.4
This commit is contained in:
parent
d12eba903d
commit
2f77223658
3 changed files with 6 additions and 2 deletions
|
@ -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']) {
|
||||
|
|
Reference in a new issue