[freeside-commits] branch master updated. 6de06472ab43534bd889e531ae060bbd4c935518

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


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