using _empty_ instead of *any for api

This commit is contained in:
Radu Ioan Fericean
2014-09-10 15:18:38 +03:00
parent 01d0b1b437
commit 6ecabf1d90
4 changed files with 16 additions and 12 deletions

View File

@@ -150,7 +150,7 @@ func (ub *Account) getBalancesForPrefix(prefix, category string, balances Balanc
if b.IsExpired() || (ub.AllowNegative == false && b.SharedGroup == "" && b.Value <= 0) {
continue
}
if sharedGroup != "" && sharedGroup != "" && b.SharedGroup != sharedGroup {
if sharedGroup != "" && b.SharedGroup != sharedGroup {
continue
}
if !b.MatchCategory(category) {