From f0b5b4063b77a892e1bf0523f476a7808ea2d35c Mon Sep 17 00:00:00 2001 From: steffen123 Date: Wed, 11 Aug 2010 05:53:02 +0200 Subject: [PATCH] fix session viewer in mysql --- pyfpdb/SQL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index b8ddf4f0..cca8800d 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -2949,7 +2949,7 @@ class Sql: INNER JOIN Players p on (p.Id = hp.playerId) WHERE hp.playerId in AND date_format(h.startTime, '%Y-%m-%d') - AND gt.type is 'ring' + AND gt.type LIKE 'ring' ORDER by time""" elif db_server == 'postgresql': self.query['sessionStats'] = """