View | Details | Raw Unified | Return to bug 25440
Collapse All | Expand All

(-)a/admin/smart-rules.pl (-2 / +1 lines)
Lines 565-571 my $definedbranch = $all_rules->count ? 1 : 0; Link Here
565
my $rules = {};
565
my $rules = {};
566
while ( my $r = $all_rules->next ) {
566
while ( my $r = $all_rules->next ) {
567
    $r = $r->unblessed;
567
    $r = $r->unblessed;
568
    $rules->{ $r->{categorycode} }->{ $r->{itemtype} }->{ $r->{rule_name} } = $r->{rule_value};
568
    $rules->{ $r->{categorycode} // '' }->{ $r->{itemtype} // '' }->{ $r->{rule_name} } = $r->{rule_value};
569
}
569
}
570
570
571
$template->param(show_branch_cat_rule_form => 1);
571
$template->param(show_branch_cat_rule_form => 1);
572
- 

Return to bug 25440