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

(-)a/C4/Letters.pm (-13 / +10 lines)
Lines 631-648 sub GetPreparedLetter { Link Here
631
            }
631
            }
632
        );
632
        );
633
633
634
        if (@plugins) {
634
        foreach my $plugin (@plugins) {
635
            foreach my $plugin (@plugins) {
635
            my $namespace = $plugin->get_metadata()->{namespace};
636
                my $namespace = $plugin->get_metadata()->{namespace};
636
            if ($namespace) {
637
                if ($namespace) {
637
                try {
638
                    try {
638
                    if ( my $content = $plugin->notices_content( \%params ) ) {
639
                        if ( my $content = $plugin->notices_content( \%params ) ) {
639
                        $objects->{plugin_content}->{$namespace} = $content;
640
                            $objects->{plugin_content}->{$namespace} = $content;
640
                    }
641
                        }
641
                } catch {
642
                    } catch {
642
                    next;
643
                        next;
643
                };
644
                    };
645
                }
646
            }
644
            }
647
        }
645
        }
648
    }
646
    }
649
- 

Return to bug 40037