Added Drop Lists feature, allowing you to add new leads to a list built from

DROP calls from inbound groups on a scheduled basis.

git-svn-id: svn://192.168.202.10@2714 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2017-03-27 19:56:06 +00:00
parent 6f0d44bf1c
commit 80c4ec36f4
13 changed files with 2377 additions and 37 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ if (length($report_id) > 1)
$sthA->finish();
### gather user information for last manager who edited the automated report
$stmtA = "SELECT user from vicidial_admin_log where event_section='AUTOREPORTS' and record_id='$report_id';";
$stmtA = "SELECT user from vicidial_admin_log where event_section='AUTOREPORTS' and record_id='$report_id' and event_type IN('ADD','MODIFY','COPY') order by admin_log_id desc limit 1;";
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
$sthArows=$sthA->rows;