Fix creating new tracks with SQLBacking

This commit is contained in:
Luck 2017-01-09 19:24:12 +00:00
parent 055d181c67
commit ab0f9bbdbd
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -815,6 +815,8 @@ public class SQLBacking extends AbstractBacking {
try (ResultSet rs = ps.executeQuery()) { try (ResultSet rs = ps.executeQuery()) {
if (rs.next()) { if (rs.next()) {
groups.set(rs.getString("groups")); groups.set(rs.getString("groups"));
} else {
return false;
} }
} }
} }