Revision 541
Added by bojilova about 24 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
718 | 718 |
pstmt.setString(1, docid); |
719 | 719 |
pstmt.setString(2, user); |
720 | 720 |
pstmt.setString(3, docid); |
721 |
pstmt.setString(2, group);
|
|
721 |
pstmt.setString(4, group);
|
|
722 | 722 |
|
723 | 723 |
pstmt.execute(); |
724 | 724 |
ResultSet rs = pstmt.getResultSet(); |
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
799 | 799 |
pstmt.setString(1, docid); |
800 | 800 |
pstmt.setString(2, user); |
801 | 801 |
pstmt.setString(3, docid); |
802 |
pstmt.setString(2, group);
|
|
802 |
pstmt.setString(4, group);
|
|
803 | 803 |
|
804 | 804 |
pstmt.execute(); |
805 | 805 |
ResultSet rs = pstmt.getResultSet(); |
Also available in: Unified diff
fixed bug/typo