From 07e4d0dbd9df4caed9937f252c350abdc1575248 Mon Sep 17 00:00:00 2001 From: atz Date: Tue, 24 Aug 2010 15:22:03 +0000 Subject: [PATCH] 1-line fix for false 404 from sylvar solves "The requested URL /xul/rel_1_6_0_7/server/patron/ue.xhtml&clone=112879 was not found on this server." git-svn-id: svn://svn.open-ils.org/ILS/trunk@17323 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 793f5be0b6..f90bfb9f09 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -638,7 +638,7 @@ function uEditSaveUser(cloneme) { var href = location.href; href = href.replace(/\&?usr=\d+/, ''); href = href.replace(/\&?clone=\d+/, ''); - href += '&clone=' + cloneme; + href += (href.match(/\?/) ? "&" : "?") + 'clone=' + cloneme; location.href = href; } -- 2.43.2