mor fixes for cdr scan

This commit is contained in:
Radu Ioan Fericean
2015-11-05 18:42:53 +02:00
parent d3fe6f8de5
commit 54820a077b

View File

@@ -1007,9 +1007,9 @@ func (self *SQLStorage) GetStoredCdrs(qryFltr *utils.CdrsFilter) ([]*StoredCdr,
Timespans: ccTimespans,
}
}
if !result.Cost.Valid { //There was no cost provided, will fakely insert 0 if we do not handle it and reflect on re-rating
storCdr.Cost = -1
}
//if !result.Cost.Valid { //There was no cost provided, will fakely insert 0 if we do not handle it and reflect on re-rating
storCdr.Cost = -1
//}
cdrs = append(cdrs, storCdr)
}
return cdrs, 0, nil