From 97502a96f4c51131e4e4c11bf8824de23ad5246f Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Wed, 25 Apr 2012 21:03:03 -0400 Subject: [PATCH] Correct reference error (undefined variable) --- django/views/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/i18n.py b/django/views/i18n.py index 140dc543e3..5d1ecb99ea 100644 --- a/django/views/i18n.py +++ b/django/views/i18n.py @@ -125,7 +125,7 @@ LibFormatFoot = """ function get_format(format_type) { var value = formats[format_type]; if (typeof(value) == 'undefined') { - return msgid; + return format_type; } else { return value; }