diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index 130614f4..7f6e8532 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -134,9 +134,13 @@ public class dbItemHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); - if (rs.next()) - worked = rs.getBoolean("result"); - + if (rs.next()) { + try { + worked = rs.getBoolean("result"); + }catch(Exception e){ + worked = false; + } + } } catch (SQLException e) { Logger.error(e); }