Commit 40e49050 authored by mw4ll4c3's avatar mw4ll4c3 Committed by japerry

Issue #2512850 by DamienMcKenna, mw4ll4c3: PHP 5.4+ compatibility

parent ac9abf56
......@@ -112,7 +112,7 @@ class views_content_plugin_display_ctools_context extends views_plugin_display {
/**
* Provide the default form for setting options.
*/
function options_form(&$form, &$form_state) {
function options_form($form, &$form_state) {
// It is very important to call the parent function here:
parent::options_form($form, $form_state);
switch ($form_state['section']) {
......
......@@ -317,7 +317,7 @@ class views_content_plugin_display_panel_pane extends views_plugin_display {
* 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) {
// It is very important to call the parent function here:
parent::options_submit($form, $form_state);
switch ($form_state['section']) {
......
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