[freeside-commits] branch FREESIDE_4_BRANCH updated. b666ca233bec2b937ba0bf0172d1df2b86a42790

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


The branch, FREESIDE_4_BRANCH has been updated
       via  b666ca233bec2b937ba0bf0172d1df2b86a42790 (commit)
      from  a6ab9ec156b0400597aa4426ffee2d84dc47b633 (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 b666ca233bec2b937ba0bf0172d1df2b86a42790
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Dec 15 04:57:39 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