Fixed wrong field on tests config query

This commit is contained in:
Juan Miguel Boyero Corral 2013-11-24 19:12:05 +01:00
parent 6121ec2705
commit c0434fe057
2 changed files with 1 additions and 1 deletions

View File

@ -1652,7 +1652,7 @@ public class DataBaseHelper {
* @return Last time the test was updated * @return Last time the test was updated
*/ */
public String getTimeOfLastTestUpdate(long selectedCourseCode) { public String getTimeOfLastTestUpdate(long selectedCourseCode) {
String where = "notifCode=" + selectedCourseCode; String where = "id=" + selectedCourseCode;
String orderby = null; String orderby = null;
List<Entity> rows = db.getEntityList(Constants.DB_TABLE_TEST_CONFIG, where, orderby); List<Entity> rows = db.getEntityList(Constants.DB_TABLE_TEST_CONFIG, where, orderby);
String f = "0"; String f = "0";