Skip to content

Commit

Permalink
Correct default value to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Apr 21, 2015
1 parent c9e0f60 commit c31fcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/Helper/FormHelper.php
Expand Up @@ -2317,7 +2317,7 @@ public function month($fieldName, $attributes = array()) {
public function hour($fieldName, $format24Hours = false, $attributes = array()) {
if (is_array($format24Hours)) {
$attributes = $format24Hours;
$format24Hours = null;
$format24Hours = false;
}

$attributes += array('empty' => true, 'value' => null);
Expand Down

0 comments on commit c31fcd6

Please sign in to comment.