From b49015a3984017792b9d229c0754674f743576f7 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Sun, 25 Apr 2010 11:15:59 +0200 Subject: [PATCH] Bugfix: Database: Add channels to channel table and not server table ;) --- src/org/yaaic/db/Database.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/yaaic/db/Database.java b/src/org/yaaic/db/Database.java index b60394a..82a05e2 100644 --- a/src/org/yaaic/db/Database.java +++ b/src/org/yaaic/db/Database.java @@ -184,7 +184,7 @@ public class Database extends SQLiteOpenHelper values.put(ChannelConstants.PASSWORD, password); values.put(ChannelConstants.SERVER, serverId); - this.getWritableDatabase().insert(ServerConstants.TABLE_NAME, null, values); + this.getWritableDatabase().insert(ChannelConstants.TABLE_NAME, null, values); } /**