]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
It's also possible to PROCESS another attachment fragment, not just INCLUDE.
authorjake%acutex.net <>
Wed, 10 Oct 2001 02:14:59 +0000 (02:14 +0000)
committerjake%acutex.net <>
Wed, 10 Oct 2001 02:14:59 +0000 (02:14 +0000)
No review needed for tests at this time. NOT PART OF BUILD.

t/Support/Templates.pm

index 8ae3926816d87332d7fde4ac5d08deff2a2cd962..4d19c2ccab3be8f5b6777cd084c2e28fdeb4918d 100644 (file)
@@ -50,7 +50,7 @@ foreach my $file(@testitems) {
     my @lines = <FILE>;
     close (FILE);
     foreach my $line (@lines) {
-        if ($line =~ m/\[% INCLUDE (.+?) /) {
+        if ($line =~ m/\[% (?:INCLUDE|PROCESS) (.+?) /) {
             my $template = $1;
             push (@testitems, $template) unless $t{$template};
             $t{$template} = 1;