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:
+3
-1
@@ -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)";}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user