mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
test: utils.params
This commit is contained in:
@@ -662,7 +662,7 @@
|
||||
if (!hash[key]) {
|
||||
hash[key] = value;
|
||||
} else {
|
||||
if (!$.isArray(hash[key])) {
|
||||
if (!Array.isArray(hash[key])) {
|
||||
hash[key] = [hash[key]];
|
||||
}
|
||||
hash[key].push(value);
|
||||
|
||||
Reference in New Issue
Block a user