From: lpsolit%gmail.com <> Date: Fri, 12 Oct 2007 01:01:34 +0000 (+0000) Subject: Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after execu... X-Git-Tag: bugzilla-3.1.3~500 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52fecc3e11f934046e721bd18cd05f746bd8166f;p=thirdparty%2Fbugzilla.git Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after executing an extension - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index 6b710f8b5c..a9cfc649ce 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -49,6 +49,8 @@ sub process { do($extension.'/code/'.$name.'.pl'); ThrowCodeError('extension_invalid', { errstr => $@, name => $name, extension => $extension }) if $@; + # Flush stored data. + Bugzilla->hook_args({}); } }