diff --git a/reserve.inc b/reserve.inc index a90f132..fb15c44 100644 --- a/reserve.inc +++ b/reserve.inc @@ -277,7 +277,7 @@ function reserve_hours($option = NULL) { } // convert display to 24:00 format if required - if ($config->get('reserve_hour_format')) { + if ($config->get('hour_format') == 1) { $display = date('H:i', strtotime($display)); } @@ -1123,4 +1123,4 @@ function reserve_get_ebundle_category_field($ebundle) { return $field; } } -} \ No newline at end of file +}