Ver a proveniência

ensure showBlockStats is set for new Accounts

tags/v0.17.0
Jonathan Cobb há 4 anos
ascendente
cometimento
dde429b8c3
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      bubble-server/src/main/java/bubble/dao/account/AccountDAO.java

+ 1
- 0
bubble-server/src/main/java/bubble/dao/account/AccountDAO.java Ver ficheiro

@@ -108,6 +108,7 @@ public class AccountDAO extends AbstractCRUDDAO<Account> implements SqlViewSearc

@Override public Object preCreate(Account account) {
if (!account.hasLocale()) account.setLocale(getDEFAULT_LOCALE());
account.setShowBlockStats(account.showBlockStats()); // ensure non-null

// check account limit for plan, if there is a plan
final BubblePlan plan = selfNodeService.getThisPlan();


Carregando…
Cancelar
Guardar