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.
array(0 => 'some string') == array(0 => 0)
string 'some string' == int 0
Patch changes =! to ==!
Comment | File | Size | Author |
---|---|---|---|
features_type_strict_comparison.patch | 481 bytes | hefox | |
Comments
Comment #1
hefox CreditAttribution: hefox commented(Note: bug results in items appearing to be overridden when they are not; may or may not be the cause of some people's 'feature still appears overriden' issues at times)
Comment #2
DamienMcKennaSeems like a pretty simple and logically accurate patch.
Comment #3
DamienMcKenna+1. This, and some others, seem to have resolved the problems I was experiencing with menu links.
Comment #4
HongPong CreditAttribution: HongPong commentedIs this RTBC??
Comment #5
febbraro CreditAttribution: febbraro commentedI actually committed a fix to this for D7 here.
http://drupalcode.org/project/features.git/commitdiff/2a1a1de?hp=240fc89...
Will back port this.
Comment #6
tim.plunketthttp://drupalcode.org/project/features.git/commit/b4fc2da