Skip to content
Snippets Groups Projects
Commit 4fe879f3 authored by Yaroslav Kharchenko's avatar Yaroslav Kharchenko Committed by Joseph Olstad
Browse files

Issue #2307559 by undertext, donquixote, m1r1k, joelpittet: key_exists() is a...

Issue #2307559 by undertext, donquixote, m1r1k, joelpittet: key_exists() is a deprecated php function
parent a9bc9f61
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ function ctools_features_export_render($module, $data) { ...@@ -112,7 +112,7 @@ function ctools_features_export_render($module, $data) {
ctools_include('plugins'); ctools_include('plugins');
$plugin_api_hook_name = ctools_plugin_api_get_hook($info['module'], $info['api']); $plugin_api_hook_name = ctools_plugin_api_get_hook($info['module'], $info['api']);
if (key_exists($plugin_api_hook_name, $component_exports)) { if (array_key_exists($plugin_api_hook_name, $component_exports)) {
$component_exports[$plugin_api_hook_name]['code'] .= "\n" . implode("\n", $code); $component_exports[$plugin_api_hook_name]['code'] .= "\n" . implode("\n", $code);
} }
else { else {
......
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