Skip to content
Snippets Groups Projects
Commit ba41f72a authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

Issue #2988182 by greenskin: Error: Call to undefined method optionsForm() in _quicktabs_form()

parent 51d951de
No related branches found
No related tags found
No related merge requests found
...@@ -317,7 +317,7 @@ function _quicktabs_form(array $tab, $qt) { ...@@ -317,7 +317,7 @@ function _quicktabs_form(array $tab, $qt) {
} }
$tabtypes[$name] = $name; $tabtypes[$name] = $name;
$content_provider = quick_content_factory($name, $tab); $content_provider = quick_content_factory($name, $tab);
if (is_object($content_provider)) { if (is_object($content_provider) && method_exists($content_provider, 'optionsForm')) {
$form = array_merge_recursive($form, $content_provider->optionsForm($delta, $qt)); $form = array_merge_recursive($form, $content_provider->optionsForm($delta, $qt));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment