From: <nuc...@us...> - 2008-02-11 15:25:31
|
Revision: 4993 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=4993&view=rev Author: nuclear_eclipse Date: 2008-02-11 07:23:02 -0800 (Mon, 11 Feb 2008) Log Message: ----------- Modify event API to better work with new plugin methods. Modified Paths: -------------- trunk/mantisbt/core/event_api.php Modified: trunk/mantisbt/core/event_api.php =================================================================== --- trunk/mantisbt/core/event_api.php 2008-02-11 15:21:22 UTC (rev 4992) +++ trunk/mantisbt/core/event_api.php 2008-02-11 15:23:02 UTC (rev 4993) @@ -263,7 +263,7 @@ $t_output = array(); foreach( $p_callbacks as $t_plugin => $t_callbacks ) { foreach( $t_callbacks as $t_callback ) { - $t_output[$t_callback] = event_callback( $p_event, $t_callback, $t_plugin, $p_data ); + $t_output[$t_plugin][$t_callback] = event_callback( $p_event, $t_callback, $t_plugin, $p_data ); } } return $t_output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |