? .cvsignore
? allow_status_change.patch
Index: userpoints_rules.rules.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userpoints/userpoints_rules.rules.inc,v
retrieving revision 1.1.4.2
diff -u -p -r1.1.4.2 userpoints_rules.rules.inc
--- userpoints_rules.rules.inc	30 Oct 2010 08:27:57 -0000	1.1.4.2
+++ userpoints_rules.rules.inc	14 Feb 2011 11:55:36 -0000
@@ -222,6 +222,8 @@ function _userpoints_rules_userpoints_tr
       'type' => 'integer',
       'description' => t('Status of this transaction.'),
       'options list' => 'userpoints_txn_status',
+      'setter callback' => 'entity_metadata_verbatim_set',
+      'getter callback' => 'entity_metadata_verbatim_get',
     ),
   );
 }
@@ -262,7 +264,7 @@ function userpoints_action_grant_points(
   // the wrapped version of it.
   $state = $params['state'];
   $entity = $state->currentArguments['entity'];
-  
+
   // Map $moderate value to the actual value used by the API.
   $moderate_mapping = array(
     'default' => NULL,
