Skip to content

Commit

Permalink
BUG FIX: Forgot to store id when creating a Person while responding to
Browse files Browse the repository at this point in the history
CHANGED event
  • Loading branch information
Wayne Merricks committed Aug 5, 2014
1 parent db98490 commit 156a239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/thevoiceasia/phonebox/records/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public Person(int id, String language, String country){
public Person(int id, String language, String country,
Connection readConnection){

this.id = id;
xStrings = new I18NStrings(language, country);

String SQL = "SELECT * FROM `person` WHERE `person_id` = " + id; //$NON-NLS-1$
Expand Down

0 comments on commit 156a239

Please sign in to comment.