diff options
| author | Matthew Tretter <matthew@exanimo.com> | 2012-04-25 21:03:03 -0400 |
|---|---|---|
| committer | Matthew Tretter <matthew@exanimo.com> | 2012-04-28 15:32:22 -0400 |
| commit | 97502a96f4c51131e4e4c11bf8824de23ad5246f (patch) | |
| tree | 2eac08029399d712af68a6b6f05e1945f5a7ccd0 | |
| parent | 80d32b51b02602c0d785754e29799eccd31b9f5a (diff) | |
Correct reference error (undefined variable)
| -rw-r--r-- | django/views/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
