From: erickson Date: Fri, 11 Aug 2006 15:34:54 +0000 (+0000) Subject: logic error X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1da68e1b4980ed4f96f37778296c72aad6267d71;p=Evergreen.git logic error git-svn-id: svn://svn.open-ils.org/ILS/trunk@5463 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 f95031d12a..c290843753 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -497,7 +497,7 @@ function uEditSaveUser(cloneme) { if (window.xulG && typeof window.xulG.on_save == 'function') { _debug("xulG funcs defined..."); - if( patron.isnew() && cloneme ) { + if( !patron.isnew() && cloneme ) { _debug("calling spawn_editor to clone user..."); window.xulG.spawn_editor({ses:cgi.param('ses'),usr:id,clone:cloneme}); }