Possibly causing crashed due to rented not exist

This commit is contained in:
David Larsson
2018-03-03 06:29:18 +01:00
committed by GitHub
parent 76eefe836e
commit 8995284b95
+1 -1
View File
@@ -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