diff --git a/Model/src/main/java/org/gusdb/wdk/model/user/UserReferenceFactory.java b/Model/src/main/java/org/gusdb/wdk/model/user/UserReferenceFactory.java index b2d6e77f5..9197d2e8f 100644 --- a/Model/src/main/java/org/gusdb/wdk/model/user/UserReferenceFactory.java +++ b/Model/src/main/java/org/gusdb/wdk/model/user/UserReferenceFactory.java @@ -77,7 +77,7 @@ public int addUserReference(User user) throws WdkModelException { .replace(USER_SCHEMA_MACRO, _userSchema) .replace(IS_GUEST_VALUE_MACRO, _userDb.getPlatform().convertBoolean(isGuest).toString()); return new SQLRunner(_userDb.getDataSource(), sql, "insert-user-ref") - .executeUpdate(new Object[]{ userId, userId, insertedOn }, INSERT_USER_REF_PARAM_TYPES); + .executeUpdate(new Object[]{ userId, insertedOn }, INSERT_USER_REF_PARAM_TYPES); } catch (SQLRunnerException e) { throw WdkModelException.translateFrom(e);