[freeside-commits] branch FREESIDE_3_BRANCH updated. c7aa726d378b71b581f66e5307dbe00d2dabee54

Ivan ivan at 420.am
Tue Dec 15 04:57:41 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  c7aa726d378b71b581f66e5307dbe00d2dabee54 (commit)
      from  145c780dead46283f7c9664766a7000f6fcaf3b9 (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 c7aa726d378b71b581f66e5307dbe00d2dabee54
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Dec 15 04:57:40 2015 -0800

    fix DBI connection, RT#39250

diff --git a/FS/bin/freeside-cdr-asterisk_sql b/FS/bin/freeside-cdr-asterisk_sql
index 5c90ab4..4d4d648 100755
--- a/FS/bin/freeside-cdr-asterisk_sql
+++ b/FS/bin/freeside-cdr-asterisk_sql
@@ -44,7 +44,7 @@ my @cols = ( qw(
 calldate clid src dst dcontext channel lastapp lastdata duration 
     billsec disposition amaflags accountcode uniqueid userfield) );
 my $sql = 'SELECT '.join(',', @cols). " FROM $table WHERE freesidestatus IS NULL";
-my $sth = $sql->prepare($sql);
+my $sth = $dbi->prepare($sql);
 $sth->execute;
 print "Importing ".$sth->rows." records...\n";
 

-----------------------------------------------------------------------

Summary of changes:
 FS/bin/freeside-cdr-asterisk_sql |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list