Fix user scripts configuration import (#5083)

This commit is contained in:
Alfredo Cardigliano 2021-03-04 15:28:50 +01:00
parent 2758ec85a5
commit a4969a4316
2 changed files with 11 additions and 9 deletions

View file

@ -1150,7 +1150,7 @@ end
function user_scripts.createOrReplaceConfigset(configset)
-- Skip configurations other then the only one supported (others are deprecated)
if configset.id ~= user_scripts.DEFAULT_CONFIGSET_ID then
if configset.id and configset.id ~= user_scripts.DEFAULT_CONFIGSET_ID then
return false
end