Skip to content

Commit

Permalink
bug#4257 - readded something missed
Browse files Browse the repository at this point in the history
Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>
  • Loading branch information
vidurangaw committed Jan 31, 2014
1 parent 8cc01b3 commit 4616eb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/insert_edit.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1672,9 +1672,10 @@ function PMA_getSpecialCharsAndBackupFieldForExistingRow(
$special_chars = PMA_Util::printableBitValue(
$current_row[$column['Field']], $extracted_columnspec['spec_in_brackets']
);
} elseif (substr($column['True_Type'], 0, 9) == 'timestamp'
} elseif ((substr($column['True_Type'], 0, 9) == 'timestamp'
|| $column['True_Type'] == 'datetime'
|| $column['True_Type'] == 'time'
|| $column['True_Type'] == 'time')
&& (strpos ($current_row[$column['Field']],"." ) === TRUE)
) {
$current_row[$column['Field']] = PMA_Util::addMicroseconds(
$current_row[$column['Field']]
Expand Down

0 comments on commit 4616eb0

Please sign in to comment.