Commit f18a8d06 authored by tim.plunkett's avatar tim.plunkett

Issue #1765724 by tim.plunkett: Fixed options_form() is called twice for Page and Feed.

parent d4d91db0
......@@ -172,7 +172,6 @@ public function optionsSummary(&$categories, &$options) {
* Provide the default form for setting options.
*/
public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
// It is very important to call the parent function here.
parent::buildOptionsForm($form, $form_state);
......
......@@ -322,7 +322,6 @@ public function optionsSummary(&$categories, &$options) {
* Provide the default form for setting options.
*/
public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
// It is very important to call the parent function here:
parent::buildOptionsForm($form, $form_state);
......
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