From 9bfc556769b973a5417aa1f10f252d3c67613640 Mon Sep 17 00:00:00 2001 From: mattf Date: Sun, 11 Feb 2018 15:32:56 +0000 Subject: [PATCH] small fix to last commit git-svn-id: svn://192.168.202.10@2911 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/admin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 3f6d90d5..ef0627e9 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -21559,7 +21559,7 @@ if ($ADD==31) while ($lists_to_print > $o) { $rowx=mysqli_fetch_row($rslt); - $camp_status_groups .= "'$rowx[0]',"; + if (strlen($rowx[0]) > 0) {$camp_status_groups .= "'$rowx[0]',";} $o++; } $closer_campaigns = preg_replace("/ -$/","",$closer_campaigns); @@ -21572,7 +21572,7 @@ if ($ADD==31) while ($lists_to_print > $o) { $rowx=mysqli_fetch_row($rslt); - $camp_status_groups .= "'$rowx[0]',"; + if (strlen($rowx[0]) > 0) {$camp_status_groups .= "'$rowx[0]',";} $o++; } # $camp_status_groups = preg_replace('/.$/i','',$camp_status_groups); @@ -24007,7 +24007,7 @@ if ($ADD==34) while ($lists_to_print > $o) { $rowx=mysqli_fetch_row($rslt); - $camp_status_groups .= "'$rowx[0]',"; + if (strlen($rowx[0]) > 0) {$camp_status_groups .= "'$rowx[0]',";} $o++; } $closer_campaigns = preg_replace("/ -$/","",$closer_campaigns); @@ -24020,7 +24020,7 @@ if ($ADD==34) while ($lists_to_print > $o) { $rowx=mysqli_fetch_row($rslt); - $camp_status_groups .= "'$rowx[0]',"; + if (strlen($rowx[0]) > 0) {$camp_status_groups .= "'$rowx[0]',";} $o++; } # $camp_status_groups = preg_replace('/.$/i','',$camp_status_groups);