diff options
author | Ivan Kohler <ivan@freeside.biz> | 2019-08-29 15:32:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2019-08-29 15:32:55 -0700 |
commit | c2c538bb32f8ad5263c41a0a8ca5ee7b8b12f0dc (patch) | |
tree | 0970e885bb6db5f476e7a853c5adbe53099af852 | |
parent | 7ef142d90992c4c4ece444f51b5bd3b70f588b6e (diff) |
use uniqueid if id is missing in v12, RT#83146
-rwxr-xr-x | FS/bin/freeside-cdr-asterisk_sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ?'; |