Closed (fixed)
Project:
Features
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2013 at 09:59 UTC
Updated:
15 Aug 2013 at 20:11 UTC
This of course depends on the definition of 'empty' :)
But I have field settings that keep giving differences, and this is what I saw:
$default = array(
'name' => 'name',
'settings' => array(),
);
$normal = array(
'name' => 'name',
'settings' => array(
'empty_value' => NULL,
),
);
_features_sanitize removes the 'settings' key from $default.
But it does not remove the 'settings' key from $normal; it leaves 'settings => array()' in there. I'm guessing that this is not as desired.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| features-sanitize-really-empty.patch | 1.03 KB | roderik |
Comments
Comment #1
mpotter commentedSeems like an easy one. Committed to 19b952d.