Skip to content

Commit

Permalink
Add "new status" to EVENT_UPDATE_BUG_STATUS_FORM
Browse files Browse the repository at this point in the history
Add parameter to EVENT_UPDATE_BUG_STATUS_FORM, to include the new
status.

Fixes: #17923
  • Loading branch information
cproensa authored and dregad committed Nov 21, 2016
1 parent ffe67c9 commit b2455a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bug_change_status_page.php
Expand Up @@ -327,7 +327,7 @@ class="datetime" size="20" maxlength="16"
}
}

event_signal( 'EVENT_UPDATE_BUG_STATUS_FORM', array( $f_bug_id ) );
event_signal( 'EVENT_UPDATE_BUG_STATUS_FORM', array( $f_bug_id, $f_new_status ) );

if( $f_change_type == BUG_UPDATE_TYPE_REOPEN ) {
?>
Expand Down
1 change: 1 addition & 0 deletions docbook/Developers_Guide/en-US/Events_Reference_Bug.xml
Expand Up @@ -197,6 +197,7 @@
<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
<listitem><para>&lt;Integer&gt;: New Status</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>
Expand Down

0 comments on commit b2455a3

Please sign in to comment.