Skip to content
Snippets Groups Projects
Commit f2aaa182 authored by Yannis Devos's avatar Yannis Devos
Browse files

mb

parent 4d1eff5e
Branches
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ public class UserDAO extends HttpServlet{
public void removeUser(User nUser){
try{
PreparedStatement stmt = this.con.prepareStatement("DELETE FROM userAccount WHERE userID=?");
stmt.setInt(1, nUser.getID());
stmt.setInt(1, nUser.getId());
stmt.executeUpdate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment