From c3084abc785d9a860e971e1ad88a69211466caa3 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Sat, 7 Feb 2026 15:42:58 -0800 Subject: [PATCH] Update functions.lua --- server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/functions.lua b/server/functions.lua index 17318e2..7f546db 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -100,7 +100,7 @@ local function handleFresh(source) } playerRep[id] = player local first, last = Bridge.Framework.GetPlayerName(source) - MySQL.insert('INSERT INTO drugrep SET cid = ?, drugrep = ?, name = ?', {id, player, first .. ' ' .. last}) + MySQL.insert('INSERT INTO drugrep SET cid = ?, drugrep = ?, name = ?', {id, json.encode(player), first .. ' ' .. last}) end local function loadRep(source)