Small change to cn_dnc.agi to allow for campaigns with no lists

git-svn-id: svn://192.168.202.10@1873 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2012-11-12 16:42:11 +00:00
parent 3387e2a2fa
commit b594a6ac7f
+3 -1
View File
@@ -209,7 +209,9 @@ if ( (length($campaign_id) > 0) && ($camp_sys =~ /CAMP/) )
$sthA->finish();
chop($SlistsSQL);
if (length($SlistsSQL)>3)
if (length($SlistsSQL)<3)
{$SlistsSQL = "''";}
if (length($SlistsSQL)>1)
{$listSQL = "and list_id IN($SlistsSQL)";}
}