bug class fixed involving rs usage

This commit is contained in:
MagicBot committed 2023-05-23 14:29:08 -04:00
1 parent adcf7ca927
commit bcc1ac115d
6 files changed
+16 -5

No files matched your search

@@ -165,8 +165,9 @@ public class dbBuildingHandler extends dbHandlerBase {
preparedStatement.setString(3, String.valueOf(new_value));
ResultSet rs = preparedStatement.executeQuery();
result = rs.getString("result");
if (rs.next())
result = rs.getString("result");
} catch (SQLException e) {
Logger.error(e);