Skip to content

Commit

Permalink
lite fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyx14 committed Aug 10, 2016
1 parent fd1ef3f commit b5c3db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path_10_9/data/modules/scripts/gamestore/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ GameStore.insertHistory = function(accountId, mode, description, amount)
end
GameStore.retrieveHistoryEntries = function(accountId)
local entries = {}
local resultId = db.storeQuery("SELECT * FROM `store_history` WHERE `account_id` = " .. accountId .. " ORDER BY `time` DESC")
local resultId = db.storeQuery("SELECT * FROM `store_history` WHERE `account_id` = " .. accountId .. " ORDER BY `time` DESC LIMIT 15;")
if resultId ~= false then
repeat
local entry = {
Expand Down

0 comments on commit b5c3db5

Please sign in to comment.