Small fix for campaign NONE selection in calls export report
git-svn-id: svn://192.168.202.10@4009 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
# and/or vicidial_closer_log information by status, list_id and date range.
|
# and/or vicidial_closer_log information by status, list_id and date range.
|
||||||
# downloads to a flat text file that is tab delimited
|
# downloads to a flat text file that is tab delimited
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
# Copyright (C) 2026 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||||
#
|
#
|
||||||
# CHANGES
|
# CHANGES
|
||||||
#
|
#
|
||||||
@@ -66,6 +66,7 @@
|
|||||||
# 230622-1652 - Added filtering by time (hours), and option for single user exports.
|
# 230622-1652 - Added filtering by time (hours), and option for single user exports.
|
||||||
# 230623-1025 - Added sort_dir sort direction
|
# 230623-1025 - Added sort_dir sort direction
|
||||||
# 240801-1130 - Code updates for PHP8 compatibility
|
# 240801-1130 - Code updates for PHP8 compatibility
|
||||||
|
# 260731-2058 - Small fix for campaign NONE selection
|
||||||
#
|
#
|
||||||
|
|
||||||
$startMS = microtime();
|
$startMS = microtime();
|
||||||
@@ -525,7 +526,7 @@ if ($run_export > 0)
|
|||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
if ( (preg_match('/\s\-\-NONE\-\-\s/',$campaign_string) ) or ($campaign_ct < 1) )
|
if ( (preg_match('/\-\-\-NONE\-\-\-/',$campaign_string) ) or ($campaign_ct < 1) )
|
||||||
{
|
{
|
||||||
$campaign_SQL = "campaign_id IN('')";
|
$campaign_SQL = "campaign_id IN('')";
|
||||||
$RUNcampaign=0;
|
$RUNcampaign=0;
|
||||||
@@ -570,7 +571,7 @@ if ($run_export > 0)
|
|||||||
$group_SQL .= "'$group[$i]',";
|
$group_SQL .= "'$group[$i]',";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
if ( (preg_match('/\s\-\-NONE\-\-\s/',$group_string) ) or ($group_ct < 1) )
|
if ( (preg_match('/\-\-\-NONE\-\-\-/',$group_string) ) or ($group_ct < 1) )
|
||||||
{
|
{
|
||||||
$group_SQL = "''";
|
$group_SQL = "''";
|
||||||
$group_SQL = "campaign_id IN('')";
|
$group_SQL = "campaign_id IN('')";
|
||||||
|
|||||||
Reference in New Issue
Block a user