Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With the recently committed code that adds the features integration, I'm getting this warning message:
Notice: Undefined variable: module in styles_style_features_export() (line 29 of styles/includes/styles.features.inc).
Changing
$export['dependencies'][$module] = $style['module'];
to
$export['dependencies'][$module_name] = $style['module'];
removed the warning message for me, though I'm not 100% sure this is the appropriate syntax for the features dependencies code.
Comment | File | Size | Author |
---|---|---|---|
#3 | styles-n1283280-3.patch | 668 bytes | DamienMcKenna |
Comments
Comment #1
jwilson3bump. no patch, its a one line fix.
Comment #2
jwilson3Comment #3
DamienMcKennaShould it not be this one instead?