diff --git a/agc_2-X/branches/agc_2.2.0/www/vicidial/user_stats.php b/agc_2-X/branches/agc_2.2.0/www/vicidial/user_stats.php
index 130ce53d..612af8d2 100644
--- a/agc_2-X/branches/agc_2.2.0/www/vicidial/user_stats.php
+++ b/agc_2-X/branches/agc_2.2.0/www/vicidial/user_stats.php
@@ -648,7 +648,7 @@ while ($logs_to_print > $u)
echo "
$dead_sec | \n";
echo " $customer_sec | \n";
echo " $status | \n";
- echo " $lead_id | \n";
+ echo " $lead_id | \n";
echo " $campaign_id | \n";
echo " $pause_code | \n";
}
diff --git a/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi b/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi
index 704cc8ed..26a0c8d4 100644
--- a/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi
+++ b/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi
@@ -342,7 +342,7 @@ $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
$sthArows=$sthA->rows;
$dbhP=$dbhA; $mysql_count='01003'; $MEL_aff_rows=$sthArows; &mysql_error_logging;
- $rec_count=0;
+$rec_count=0;
while ($sthArows > $rec_count)
{
@aryA = $sthA->fetchrow_array;
@@ -381,12 +381,12 @@ if ($affected_rows > 0)
while ($sthArows > $rec_count)
{
@aryA = $sthA->fetchrow_array;
- $VDADcampaign = "$aryA[0]";
- $VDADphone = "$aryA[1]";
- $VDADphone_code = "$aryA[2]";
- $VDADlead_id = "$aryA[3]";
- $VDADcall_time = "$aryA[4]";
- $VDADalt_dial = "$aryA[5]";
+ $VDADcampaign = $aryA[0];
+ $VDADphone = $aryA[1];
+ $VDADphone_code = $aryA[2];
+ $VDADlead_id = $aryA[3];
+ $VDADcall_time = $aryA[4];
+ $VDADalt_dial = $aryA[5];
$rec_count++;
}
$sthA->finish();
diff --git a/agc_2-X/trunk/www/vicidial/user_stats.php b/agc_2-X/trunk/www/vicidial/user_stats.php
index d51b8e29..89aaf5e6 100644
--- a/agc_2-X/trunk/www/vicidial/user_stats.php
+++ b/agc_2-X/trunk/www/vicidial/user_stats.php
@@ -710,7 +710,7 @@ if ($did < 1)
echo " $dead_sec | \n";
echo " $customer_sec | \n";
echo " $status | \n";
- echo " $lead_id | \n";
+ echo " $lead_id | \n";
echo " $campaign_id | \n";
echo " $pause_code | \n";
}