[freeside-commits] branch master updated. c2c538bb32f8ad5263c41a0a8ca5ee7b8b12f0dc

Ivan Kohler ivan at freeside.biz
Thu Aug 29 15:33:29 PDT 2019


The branch, master has been updated
       via  c2c538bb32f8ad5263c41a0a8ca5ee7b8b12f0dc (commit)
      from  7ef142d90992c4c4ece444f51b5bd3b70f588b6e (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 c2c538bb32f8ad5263c41a0a8ca5ee7b8b12f0dc
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Aug 29 15:32:55 2019 -0700

    use uniqueid if id is missing in v12, RT#83146

diff --git a/FS/bin/freeside-cdr-asterisk_sql b/FS/bin/freeside-cdr-asterisk_sql
index 3d9096cf8..97e475868 100755
--- a/FS/bin/freeside-cdr-asterisk_sql
+++ b/FS/bin/freeside-cdr-asterisk_sql
@@ -151,7 +151,7 @@ while ( my $row = $sth->fetchrow_hashref ) {
         @args = ( undef );
       } else {
         $usql .= ' uniqueid = ?';
-        @args = ( $row->{'uniqueid'} );
+        @args = ( undef, $row->{'uniqueid'} );
       }
     } else {
       $usql .= ' calldate = ? AND src = ? AND dst = ?';

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

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