This commit is contained in:
Csoki
2022-11-24 23:53:51 +01:00
parent 094ad4d8da
commit 38cfcb0a71
+2 -2
View File
@@ -395,11 +395,11 @@ else
xPlayer.showNotification(TranslateCap('invalid_sex_format'), "error")
return cb(false)
end
if checkDOBFormat(data.dateofbirth) then
if not checkDOBFormat(data.dateofbirth) then
xPlayer.showNotification(TranslateCap('invalid_dob_format'), "error")
return cb(false)
end
if checkHeightFormat(data.height) then
if not checkHeightFormat(data.height) then
xPlayer.showNotification(TranslateCap('invalid_height_format'), "error")
return cb(false)
end