From d588cbeea657c1f3ebd6e300ceb99049c82cbfa9 Mon Sep 17 00:00:00 2001
From: Lucas D Hedding <lucashedding@1463982.no-reply.drupal.org>
Date: Thu, 25 Jul 2013 07:50:43 -0500
Subject: [PATCH] Issue by heddn: Added Parameters to data need the ability to
 allow NULL values

---
 modules/data.eval.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/data.eval.inc b/modules/data.eval.inc
index bbeddfa..6b9a95a 100644
--- a/modules/data.eval.inc
+++ b/modules/data.eval.inc
@@ -291,7 +291,7 @@ function rules_action_data_create_info_alter(&$element_info, RulesAbstractPlugin
       // Add the data type's properties as parameters.
       foreach ($type_info['property info'] as $property => $property_info) {
         // Prefix parameter names to avoid name clashes with existing parameters.
-        $element_info['parameter']['param_' . $property] = array_intersect_key($property_info, array_flip(array('type', 'label')));
+        $element_info['parameter']['param_' . $property] = array_intersect_key($property_info, array_flip(array('type', 'label', 'allow null')));
         if (empty($property_info['required'])) {
           $element_info['parameter']['param_' . $property]['optional'] = TRUE;
         }
-- 
1.7.10.4

