From 363686fd1c089c5fc9ee09b0dcf06fb31009a1f6 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Sun, 12 Feb 2012 10:49:27 -0500 Subject: [PATCH] Fixed Database.getGameOptions() this method was referencing the game history table Change-Id: I4ce7fd0e60a4b89cf76e86e80e69212612c0d8d1 Signed-off-by: Ricky Barrette --- .../src/com/TwentyCode/android/ExaltedDice/Database.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/Database.java b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/Database.java index a19e041..da7bce7 100644 --- a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/Database.java +++ b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/Database.java @@ -456,7 +456,7 @@ public class Database { * @author ricky barrette */ public ContentValues getGameOptions(long gameId){ - return parseCursor(mDb.query(GAME_HISTORY_TABLE, new String[]{ KEY, KEY_VALUE }, KEY_NAME +" = "+ DatabaseUtils.sqlEscapeString(getGameName(gameId)), null, null, null, null)); + return parseCursor(mDb.query(GAME_OPTIONS_TABLE, new String[]{ KEY, KEY_VALUE }, KEY_NAME +" = "+ DatabaseUtils.sqlEscapeString(getGameName(gameId)), null, null, null, null)); } /**