From 5f44728c8ce1789a237a913d32875b18aa5c92eb Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 30 Nov 2010 14:21:05 +0000 Subject: [PATCH] small bug fixes git-svn-id: svn://192.168.202.10@1559 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/AST_DB_dead_cb_purge.pl | 2 +- www/agc/vicidial.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/AST_DB_dead_cb_purge.pl b/bin/AST_DB_dead_cb_purge.pl index d41a9944..04a093a6 100644 --- a/bin/AST_DB_dead_cb_purge.pl +++ b/bin/AST_DB_dead_cb_purge.pl @@ -31,7 +31,7 @@ if (length($ARGV[0])>1) print " [-purge-non-cb] = delete callback records of leads with no CBHOLD/CALLBK status\n"; print " [-t] = test\n"; print " [-q] = quiet\n"; - print " [-debug] = verbose debug messages\n\n"; + print " [-debug] = verbose debug messages\n"; print " [-debugX] = extra verbose debug messages\n\n"; exit; } diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 90196b3d..625f638c 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -9146,13 +9146,13 @@ else else {web_form_varsX = '?' + web_form_varsX} - TEMP_VDIC_web_form_address = encoded + "" + web_form_varsX; + var TEMPX_VDIC_web_form_address = encoded + "" + web_form_varsX; var regWFAqavars = new RegExp("\\?&","ig"); var regWFAaavars = new RegExp("&&","ig"); - TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?'); - TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&'); - encoded = TEMP_VDIC_web_form_address; + TEMPX_VDIC_web_form_address = TEMPX_VDIC_web_form_address.replace(regWFAqavars, '?'); + TEMPX_VDIC_web_form_address = TEMPX_VDIC_web_form_address.replace(regWFAaavars, '&'); + encoded = TEMPX_VDIC_web_form_address; } if (scriptformat == 'YES') {