From 914bd030e6e7b575668ef21332d29cc4f8d367a1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 7 Mar 2003 17:32:01 +0000 Subject: - Fixed typo: "data_format" -> "date_format_short". Patch by walkah. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 9c6b40bf2..7a79b2895 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -660,7 +660,7 @@ function format_date($timestamp, $type = "medium", $format = "") { switch ($type) { case "small": - $date = date(variable_get("date_format", "m/d/Y - H:i"), $timestamp); + $date = date(variable_get("date_format_short", "m/d/Y - H:i"), $timestamp); break; case "medium": $date = date(variable_get("date_format_medium", "D, m/d/Y - H:i"), $timestamp); -- cgit v1.2.3