features_include_defaults() compares $info['default_file'] !== FEATURES_DEFAULTS_INCLUDED, but $info sometimes does not contain a 'default_file' key.

Patch just makes sure that it does. This was not a problem prior to php5.3, hence the tag.

CommentFileSizeAuthor
#1 features_php53_1.patch1.15 KBfgm
features_php53_1.patch0 bytesfgm

Comments

fgm’s picture

StatusFileSize
new1.15 KB

Strange, upload failed ?

yhahn’s picture

Status: Needs review » Fixed

Thanks. Committed here: http://drupal.org/cvs?commit=395006

Note that the correct logic for this check is

!isset($info['default_file']) || $info['default_file'] !== FEATURES_DEFAULTS_INCLUDED

Status: Fixed » Closed (fixed)
Issue tags: -php5.3

Automatically closed -- issue fixed for 2 weeks with no activity.