From 1cab57dccb704d65b5e654f42b55d8759cb4e476 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 4 Dec 2003 17:57:40 +0000 Subject: [PATCH] patch 845690 show real data before transformation (text_plain__dateformat) --- ChangeLog | 2 ++ libraries/transformations/text_plain__dateformat.inc.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc80ed3fa..c301bf593 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $Source$ 2003-12-04 Marc Delisle * lang/estonian: Updated, thanks to Alvar Soome (finsoft). + * libraries/transformations/text_plain__dateformat.inc.php: + patch 845690: show real data before transformation 2003-12-04 Garvin Hicking * browse_foreigner.php, mult_submits.inc.php, tbl_change.php, diff --git a/libraries/transformations/text_plain__dateformat.inc.php b/libraries/transformations/text_plain__dateformat.inc.php index a94e48493..732926912 100644 --- a/libraries/transformations/text_plain__dateformat.inc.php +++ b/libraries/transformations/text_plain__dateformat.inc.php @@ -12,7 +12,9 @@ function PMA_transformation_text_plain__dateformat($buffer, $options = array(), } if (!isset($options[1]) || $options[1] == '') { - $options[1] = $GLOBALS['datefmt']; + //$options[1] = $GLOBALS['datefmt']; + $buffer_message = "'" . $buffer . "'"; + $options[1] = '' . $GLOBALS['datefmt'] . ''; } $timestamp = -1;