Bugfix; method is on rs.
This commit is contained in:
@@ -662,7 +662,7 @@ public class dbBuildingHandler extends dbHandlerBase {
|
|||||||
ResultSet rs = preparedStatement.executeQuery();
|
ResultSet rs = preparedStatement.executeQuery();
|
||||||
|
|
||||||
if (rs.next())
|
if (rs.next())
|
||||||
storedEnum = DbObjectType.valueOf(getString("type").toUpperCase());
|
storedEnum = DbObjectType.valueOf(rs.getString("type").toUpperCase());
|
||||||
|
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
Logger.error("Building", e);
|
Logger.error("Building", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user