fixed debit bug

This commit is contained in:
Radu Ioan Fericean
2013-12-03 17:03:20 +02:00
parent 92f9849380
commit 66c6efab96
2 changed files with 1 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ func (ub *UserBalance) getBalancesForPrefix(prefix string, balances BalanceChain
if b.IsExpired() || (ub.Type != UB_TYPE_POSTPAID && b.Value <= 0) {
continue
}
if b.DestinationId != "" {
if b.DestinationId != "" && b.DestinationId != "*any" {
dest, err := storageGetter.GetDestination(b.DestinationId, false)
if err != nil {
continue