diff --git a/libraries/transformations/text_plain__dateformat.inc.php b/libraries/transformations/text_plain__dateformat.inc.php index 0a2babac0..4bc2b3d28 100644 --- a/libraries/transformations/text_plain__dateformat.inc.php +++ b/libraries/transformations/text_plain__dateformat.inc.php @@ -69,6 +69,8 @@ function PMA_transformation_text_plain__dateformat($buffer, $options = array(), $text = PMA_localisedDate($timestamp, $options[1]); } elseif ($options[2] == 'utc') { $text = gmdate($options[1], $timestamp); + } else { + $text = 'INVALID DATE TYPE'; } $buffer = '' . $text . ''; }