summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2008-03-11 10:31:00 (GMT)
committer Karen Stevenson2008-03-11 10:31:00 (GMT)
commitb5a651279801970a19edaea6c41e65a699026d5a (patch)
tree8efc2022784a0d772bc74656d604e720b62ed036
parente414b96d0b2a202e0df78ebd69bff4aef76ce582 (diff)
#232666 reverse year_range and increment values.
-rw-r--r--date/date_admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/date/date_admin.inc b/date/date_admin.inc
index e122e00..0f4c8ac 100644
--- a/date/date_admin.inc
+++ b/date/date_admin.inc
@@ -132,11 +132,11 @@ function date_widget_settings_form($widget) {
else {
$form['increment'] = array(
'#type' => 'hidden',
- '#value' => !empty($widget['year_range']) ? $widget['year_range'] : '-3:+3',
+ '#value' => !empty($widget['increment']) ? $widget['increment'] : 1,
);
$form['year_range'] = array(
'#type' => 'hidden',
- '#value' => isset($widget['increment']) ? $widget['increment'] : 1,
+ '#value' => isset($widget['year_range']) ? $widget['year_range'] : '-3:+3',
);
}