Undefined variable: module in styles_style_features_export

Created on 18 September 2011, over 13 years ago
Updated 11 June 2025, 2 days ago

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.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.

Production build 0.71.5 2024