centreon/centreon-open-tickets

"Please select a rule first"

Closed this issue · 0 comments

in the line

$preferences['rule'] = (!empty($preferences['rule']) ? $preferences['rule'] : null);
the ternary return "1" if $preferences['rule'] isn't empty. If rule ID 1 doesn't exist, it says "Please select a rule first" even if you have one selected.