diff --git a/[esx]/esx_identity/server/main.lua b/[esx]/esx_identity/server/main.lua index 6d09b261..78e9fc6f 100644 --- a/[esx]/esx_identity/server/main.lua +++ b/[esx]/esx_identity/server/main.lua @@ -227,7 +227,7 @@ if Config.UseDeferrals then '' or data.height == '' then deferrals.done(TranslateCap('data_incorrect')) else - if checkNameFormat(date.firstname) then + if checkNameFormat(data.firstname) then if checkNameFormat(data.lastname) then if checkDOBFormat(data.dateofbirth) then if checkSexFormat(data.sex) then