Show
Ignore:
Timestamp:
08/30/07 22:59:37 (15 months ago)
Author:
roidelapluie
Message:

0.11.2: [michael] fix bug when searching text containing a ' in history
window. fixes #3091

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/common/logger.py

    r8617 r8640  
    496496                else: # user just typed something, we search in message column 
    497497                        where_sql = self._build_contact_where(account, jid) 
    498                         like_sql = '%' + query + '%' 
     498                        like_sql = '%' + query.replace("'", "''") + '%' 
    499499                        self.cur.execute(''' 
    500500                                SELECT contact_name, time, kind, show, message, subject FROM logs