Index: money.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/money/money.module,v
retrieving revision 1.1.2.2
diff -u -F^f -r1.1.2.2 money.module
--- money.module	1 Sep 2007 10:33:07 -0000	1.1.2.2
+++ money.module	12 Oct 2007 11:48:31 -0000
@@ -118,8 +118,8 @@ function money_field($op, &$node, $field
           if (!in_array($item['currency'], $allowed_currencies)) {
             form_set_error($field['field_name'] .']['. $delta .'][currency', t('The currency %currency is not allowed.', array('%currency' => t($item['currency']))));
           }
-          // Validate the amount.
-          if (!is_numeric($item['amount'])) {
+          // Validate the amount (allow empty value when the field is not required).
+          if (!is_numeric($item['amount']) && !($item['amount'] == '' && !$field['required'])) {
             form_set_error($field['field_name'] .']['. $delta .'][amount', t('You entered an invalid amount.'));
           }
         }
