Skip to content

Node.js based forum software built for the modern web

I thought I was on holiday (fixes infinite loop on language calls)

psychobunny3da64660454b
diff --git a/public/src/translator.js b/public/src/translator.js
index 1802e858d8..2fd8b79d1a 100644
--- a/public/src/translator.js
+++ b/public/src/translator.js
@@ -123,7 +123,7 @@
var parsedKey = key.replace('[[', '').replace(']]', '').split(':');
if (!(parsedKey[0] && parsedKey[1])) {
- return;
+ return callback(data);
}
var languageFile = parsedKey[0];