From: lpsolit%gmail.com <> Date: Fri, 12 Oct 2007 01:02:44 +0000 (+0000) Subject: Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() after execu... X-Git-Tag: bugzilla-3.0.3~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e120f8d23cfc0e5ac7563551224d876f582531d7;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 3e784bd0ed..8ce2d4bd13 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -46,6 +46,8 @@ sub process { do($extension.'/code/'.$name.'.pl'); ThrowCodeError('extension_invalid', { errstr => $@, name => $name, extension => $extension }) if $@; + # Flush stored data. + Bugzilla->hook_args({}); } }