| 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. |
| 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. |