Skip to content
Snippets Groups Projects
Commit b67c8dbf authored by Earl Miles's avatar Earl Miles
Browse files

Missing an include for "plugins" in the new export code.

parent e27f7567
No related branches found
No related tags found
No related merge requests found
...@@ -231,6 +231,7 @@ function _ctools_export_get_defaults($table, $export) { ...@@ -231,6 +231,7 @@ function _ctools_export_get_defaults($table, $export) {
if ($export['default hook']) { if ($export['default hook']) {
if (!empty($export['api'])) { if (!empty($export['api'])) {
ctools_include('plugins');
$info = ctools_plugin_api_include($export['api']['owner'], $export['api']['api'], $info = ctools_plugin_api_include($export['api']['owner'], $export['api']['api'],
$export['api']['minimum_version'], $export['api']['current_version']); $export['api']['minimum_version'], $export['api']['current_version']);
$modules = array_keys($info); $modules = array_keys($info);
......
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