From: erickson Date: Tue, 8 Aug 2006 22:15:58 +0000 (+0000) Subject: making sure ident_type2 is null instead of "" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5ae93e80bfa8149ebd538bd82ffa26e2b3ba5566;p=evergreen%2Fpines.git making sure ident_type2 is null instead of "" git-svn-id: svn://svn.open-ils.org/ILS/trunk@5387 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 47a9ae2d68..3fab888522 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -435,8 +435,11 @@ function uEditSaveUser(cloneme) { /* null is unique in the db, but '' is not */ if( ! patron.ident_value() ) patron.ident_value(null); + if( ! patron.ident_type2() ) patron.ident_type2(null); if( ! patron.ident_value2() ) patron.ident_value2(null); + if(! patron.dob() ) patron.dob(null); + var req = new Request(UPDATE_PATRON, SESSION, patron); req.alertEvent = false; req.send(true);