From a38ba33df7d7ee87153789134d8762cda141398a Mon Sep 17 00:00:00 2001 From: j0le <55405106+xj0le@users.noreply.github.com> Date: Sun, 13 Nov 2022 21:16:33 +0100 Subject: [PATCH] Big mistake fixed. --- [esx]/esx_identity/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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