Skip to content

Commit 1f73428

Browse files
(#3039) Fix instrument ownership SQL
1 parent 0a42813 commit 1f73428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApp/src/uk/ac/exeter/QuinCe/data/Instrument/InstrumentDB.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public class InstrumentDB {
266266
private static final String REMOVE_SHARE_STATEMENT = "DELETE FROM"
267267
+ " shared_instruments WHERE instrument_id = ? AND shared_with = ?";
268268

269-
private static final String SET_OWNER_STATEMENT = "UPDATE INSTRUMENT"
269+
private static final String SET_OWNER_STATEMENT = "UPDATE instrument"
270270
+ " set owner = ? WHERE id = ?";
271271

272272
/**

0 commit comments

Comments
 (0)