Fix [ 1741071 ] NPE saving on window

This commit is contained in:
Carlos Ruiz 2007-06-21 16:40:52 +00:00
parent da98343de0
commit 6d83cf95e3
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ public class WWindow extends HttpServlet
ii = null; ii = null;
} }
// -1 indicates NULL // -1 indicates NULL
if (ii.intValue() == -1) if (ii != null && ii.intValue() == -1)
ii = null; ii = null;
log.fine("ID: " + columnName + "=" + value + " -> " + ii); log.fine("ID: " + columnName + "=" + value + " -> " + ii);
return ii; return ii;