From ef84cb54d2519a638963e374d5c0a4eed22d11ae Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Mon, 17 Feb 2020 21:52:50 +0100 Subject: [PATCH] Dont select * --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index b7a2d509..5ab094c3 100644 --- a/server/main.lua +++ b/server/main.lua @@ -4,7 +4,7 @@ local availableJobs = {} TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) MySQL.ready(function() - MySQL.Async.fetchAll('SELECT * FROM jobs WHERE whitelisted = @whitelisted', { + MySQL.Async.fetchAll('SELECT name, label FROM jobs WHERE whitelisted = @whitelisted', { ['@whitelisted'] = false }, function(result) for i=1, #result, 1 do