From def94aa12209343cc6212a08408c0806b72591a1 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Sun, 23 Jun 2024 20:39:09 +0200 Subject: [PATCH] test fix --- .../resources/[bpt_addons]/bpt_policejob/server/main.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua b/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua index b55098dbc..d47e85b07 100644 --- a/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_policejob/server/main.lua @@ -417,10 +417,7 @@ end) ESX.RegisterServerCallback("bpt_policejob:storeNearbyVehicle", function(source, cb, plates) local xPlayer = ESX.GetPlayerFromId(source) - local plate = MySQL.scalar.await( - "SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?", - { xPlayer.identifier, plates, xPlayer.job.name } - ) + local plate = MySQL.scalar.await('SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?', {xPlayer.identifier, plates, xPlayer.job.name}) if plate then MySQL.update(