mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-06 20:28:06 +02:00
#638 Register with Wordpress fails with SQL exception
- Remove semicolon in query, looks like executeBatch() does not like it
This commit is contained in:
parent
af2d493796
commit
37fb29f8b9
@ -429,7 +429,7 @@ public class MySQL implements DataSource {
|
|||||||
rs = pst.executeQuery();
|
rs = pst.executeQuery();
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
int id = rs.getInt(col.ID);
|
int id = rs.getInt(col.ID);
|
||||||
sql = "INSERT INTO " + wordpressPrefix + "usermeta (user_id, meta_key, meta_value) VALUES (?,?,?);";
|
sql = "INSERT INTO " + wordpressPrefix + "usermeta (user_id, meta_key, meta_value) VALUES (?,?,?)";
|
||||||
pst2 = con.prepareStatement(sql);
|
pst2 = con.prepareStatement(sql);
|
||||||
// First Name
|
// First Name
|
||||||
pst2.setInt(1, id);
|
pst2.setInt(1, id);
|
||||||
|
Loading…
Reference in New Issue
Block a user