Merge pull request #3570 from thelounge/xpaw/fix-3568

Allow empty parameter overrides
This commit is contained in:
Pavel Djundik 2019-12-11 19:34:04 +02:00 committed by GitHub
commit 87244fb4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,10 +35,6 @@ export default {
const parsedParams = {}; const parsedParams = {};
for (let key of Object.keys(params)) { for (let key of Object.keys(params)) {
if (!params[key]) {
continue;
}
let value = params[key]; let value = params[key];
// Param can contain multiple values in an array if its supplied more than once // Param can contain multiple values in an array if its supplied more than once