From 5ae93e80bfa8149ebd538bd82ffa26e2b3ba5566 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 8 Aug 2006 22:15:58 +0000 Subject: [PATCH] making sure ident_type2 is null instead of "" git-svn-id: svn://svn.open-ils.org/ILS/trunk@5387 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.js | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.11.0