Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
If a TIMESTAMP contains a NULL value, show it when inserting or editing
  • Loading branch information
lem9 committed May 31, 2013
1 parent c4e3c9a commit af46efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/insert_edit.lib.php
Expand Up @@ -509,7 +509,7 @@ function PMA_getNullColumn($column, $column_name_appendix, $real_null_value,
$html_output .= '<input type="checkbox" class="checkbox_null" tabindex="'
. ($tabindex + $tabindex_for_null) . '"'
. ' name="fields_null' . $column_name_appendix . '"';
if ($real_null_value && !$column['first_timestamp']) {
if ($real_null_value) {
$html_output .= ' checked="checked"';
}
$html_output .= ' id="field_' . ($idindex) . '_2" />';
Expand Down

0 comments on commit af46efa

Please sign in to comment.