mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
fixes #388
This commit is contained in:
@@ -253,7 +253,9 @@
|
|||||||
|
|
||||||
for (var d in data) {
|
for (var d in data) {
|
||||||
if (data.hasOwnProperty(d)) {
|
if (data.hasOwnProperty(d)) {
|
||||||
if (data[d] === null) {
|
if (typeof data[d] === 'undefined') {
|
||||||
|
continue;
|
||||||
|
} else if (data[d] === null) {
|
||||||
template = replace(namespace + d, '', template);
|
template = replace(namespace + d, '', template);
|
||||||
} else if (data[d].constructor == Array) {
|
} else if (data[d].constructor == Array) {
|
||||||
namespace += d + '.';
|
namespace += d + '.';
|
||||||
|
|||||||
Reference in New Issue
Block a user