Don't try to parse a display predicate if none has been set.
This commit is contained in:
parent
1fcf7b5fc1
commit
e4be662c51
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ public:
|
|||
}
|
||||
|
||||
bool should_display(account_t& account) {
|
||||
if (! disp_pred.predicate)
|
||||
if (! disp_pred.predicate && ! report.display_predicate.empty())
|
||||
disp_pred.predicate.parse(report.display_predicate);
|
||||
return disp_pred(account);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue