mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Trim whitespaces
This commit is contained in:
@@ -76,6 +76,8 @@ Citizen.CreateThread(function()
|
||||
end
|
||||
end
|
||||
|
||||
data.value = ESX.Math.Trim(data.value)
|
||||
|
||||
-- Don't post if the value is negative or if it's 0
|
||||
if post then
|
||||
menu.submit(data, menu)
|
||||
|
||||
Reference in New Issue
Block a user