Skip to content

Commit

Permalink
moved features-override to patched module folder and applied patch #5
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodemellobueno committed Feb 20, 2014
1 parent 72efa96 commit 7a31097
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/features_override.export.inc b/features_override.export.inc
index 99743b4..7b29990 100644
--- a/features_override.export.inc
+++ b/features_override.export.inc
@@ -147,7 +147,8 @@ function features_override_module_component_overrides($module, $component, $rese

// This indicates it is likely not controlled by features, so fetch manually.
if (!$normal && is_array($default)) {
- $code = array_pop(features_invoke($component, 'features_export_render', $module, array_keys($default), NULL));
+ $export = features_invoke($component, 'features_export_render', $module, array_keys($default), NULL);
+ $code = array_pop($export);
if (!$code) {
return FALSE;
}

0 comments on commit 7a31097

Please sign in to comment.