From 6e220cbbd8b7a57ab8d63647e29522fbd4d1942b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sun, 19 May 2019 14:10:22 +0200 Subject: [PATCH] Update djangojs.js to current Django --- src/pretix/static/jsi18n/en/djangojs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/jsi18n/en/djangojs.js b/src/pretix/static/jsi18n/en/djangojs.js index 8b7336b13b..8257de5713 100644 --- a/src/pretix/static/jsi18n/en/djangojs.js +++ b/src/pretix/static/jsi18n/en/djangojs.js @@ -28,7 +28,7 @@ if (typeof(value) == 'undefined') { return (count == 1) ? singular : plural; } else { - return value[django.pluralidx(count)]; + return value.constructor === Array ? value[django.pluralidx(count)] : value; } };