/[drupal]/contributions/modules/date/date/date_elements.inc
ViewVC logotype

Diff of /contributions/modules/date/date/date_elements.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.46.2.2.2.3, Tue Jun 17 10:41:07 2008 UTC revision 1.46.2.2.2.4, Tue Jun 17 11:07:22 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  //$Id: date_elements.inc,v 1.46.2.2.2.2 2008/06/06 13:30:31 karens Exp $  //$Id: date_elements.inc,v 1.46.2.2.2.3 2008/06/17 10:41:07 karens Exp $
3  /**  /**
4   * @file   * @file
5   * Date forms and form themes and validation.   * Date forms and form themes and validation.
# Line 54  function _date_field_update($op, &$node, Line 54  function _date_field_update($op, &$node,
54      // Don't save empty values.      // Don't save empty values.
55      if (empty($item['value']) && $delta !== 0) {      if (empty($item['value']) && $delta !== 0) {
56        unset($items[$delta]);        unset($items[$delta]);
57          continue;
58      }      }
59      // For convenience, we process all possible columns in the element,      // For convenience, we process all possible columns in the element,
60      // but now we need to remove columns not used by this field.      // but now we need to remove columns not used by this field.

Legend:
Removed from v.1.46.2.2.2.3  
changed lines
  Added in v.1.46.2.2.2.4

  ViewVC Help
Powered by ViewVC 1.1.2