Anonymous

Module:PriceServer: Difference between revisions

From The Blockheads Wiki
no edit summary
No edit summary
No edit summary
 
Line 33: Line 33:


function PriceServer.getPriceGraphImage(id)
function PriceServer.getPriceGraphImage(id)
    return string.format('<img src="http://priceserver.theblockheads.net/get_price_graph_data.php?item_id=%s" alt="Price graph for item %s" />', id, id)
        return string.format('<img src="http://priceserver.theblockheads.net/get_price_graph_data.php?item_id=%s" alt="Price graph for item %s" />', tostring(id), tostring(id))
end
end


return PriceServer
return PriceServer