]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bustage caused by Gerv's checkin for bug 232903; basically, we
authorkiko%async.com.br <>
Tue, 3 Feb 2004 21:29:33 +0000 (21:29 +0000)
committerkiko%async.com.br <>
Tue, 3 Feb 2004 21:29:33 +0000 (21:29 +0000)
need to exempt Hook.process() calls from the filter checks. I'm assuming
Gerv has stamped this fix, and I'm just checking it in to keep things
green -- back me out later if this was wrong.

t/008filter.t

index 8b8b36d5cec7f6d389990a6d1e73dce167e1ea8f..8e0ca2d0432dba88ed33900ac6d3ccf4020ca7dc 100644 (file)
@@ -182,6 +182,9 @@ sub directive_ok {
     
     # Params
     return 1 if $directive =~ /^Param\(/;
+    
+    # Hooks
+    return 1 if $directive =~ /^Hook.process\(/;
 
     # Other functions guaranteed to return OK output
     return 1 if $directive =~ /^(time2str|GetBugLink|url)\(/;