[freeside-commits] branch FREESIDE_3_BRANCH updated. 21ae7910a5ed55314b4507023c383d74bc2860bd
Ivan
ivan at 420.am
Mon Jun 30 14:36:56 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 21ae7910a5ed55314b4507023c383d74bc2860bd (commit)
from 7fbe3ae31ecee80d14c510e779ca9b2618ba2dff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 21ae7910a5ed55314b4507023c383d74bc2860bd
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jun 30 14:36:55 2014 -0700
use a separate table for freesidestatus for IVR imports, RT#39055
diff --git a/FS/FS/cdr/Import.pm b/FS/FS/cdr/Import.pm
index 472e220..e788712 100644
--- a/FS/FS/cdr/Import.pm
+++ b/FS/FS/cdr/Import.pm
@@ -83,7 +83,7 @@ sub dbi_import {
#my @cols = values %{ $args{column_map} };
my $sql = "SELECT * FROM $table "; # join(',', @cols). " FROM $table ".
$sql .= 'LEFT JOIN '. $args{status_table}.
- ' USING ( '. $args{primary_key}. ' )'
+ " ON ( $table.$pkey = ". $args{status_table}. ".$pkey )"
if $args{status_table};
$sql .= ' WHERE freesidestatus IS NULL ';
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/Import.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list