mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 10:48:52 +00:00
Possibly causing crashed due to rented not exist
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ AddEventHandler('esx_ownedproperty:getOwnedProperties', function(cb)
|
||||
id = result[i].id,
|
||||
name = result[i].name,
|
||||
price = result[i].price,
|
||||
rented = (rented == 1 and true or false),
|
||||
rented = (result[i].rented == 1 and true or false),
|
||||
owner = result[i].owner,
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user