mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-08-07 14:12:19 -04:00
Bug #75 message.lower() breaks adding channels. Add a fix for all lower case board names not showing up.
This commit is contained in:
parent
b778b8b6cd
commit
6a9c90a0f4
3 changed files with 13 additions and 11 deletions
|
@ -93,7 +93,7 @@ def add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interfac
|
|||
def get_bulletins(board):
|
||||
conn = get_db_connection()
|
||||
c = conn.cursor()
|
||||
c.execute("SELECT id, subject, sender_short_name, date, unique_id FROM bulletins WHERE board = ?", (board,))
|
||||
c.execute("SELECT id, subject, sender_short_name, date, unique_id FROM bulletins WHERE board = ? COLLATE NOCASE", (board,))
|
||||
return c.fetchall()
|
||||
|
||||
def get_bulletin_content(bulletin_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue