Closed (fixed)
Project:
Features
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2010 at 06:05 UTC
Updated:
18 Aug 2011 at 17:31 UTC
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 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 commentedIs this RTBC??
Comment #5
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