Fix:Podcast schedule max new episodes to download setting to 0 and fix input blurs #2680

This commit is contained in:
advplyr 2024-02-27 17:17:33 -06:00
parent 7a4f4b1586
commit 38f12f4795
3 changed files with 18 additions and 5 deletions

View file

@ -114,7 +114,9 @@ module.exports.reqSupportsWebp = (req) => {
module.exports.areEquivalent = areEquivalent
module.exports.copyValue = (val) => {
if (!val) return val === false ? false : null
if (val === undefined || val === '') return null
else if (!val) return val
if (!this.isObject(val)) return val
if (Array.isArray(val)) {