Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14430/core
Modified Files:
email_api.php
Log Message:
fix for 0005097: email recipients not computed correctly
Index: email_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/email_api.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- email_api.php 5 Jan 2005 23:31:11 -0000 1.104
+++ email_api.php 11 Jan 2005 22:13:53 -0000 1.105
@@ -236,7 +236,12 @@
}
# set up to eliminate unwanted users
+ # get list of status values that are not covered specifically
in the prefs
+ # These are handled by email_on_status generically
$t_status_change = get_enum_to_array( config_get(
'status_enum_string' ) );
+ unset( $t_status_change[NEW_] );
+ unset( $t_status_change[FEEDBACK] );
+ unset( $t_status_change[ASSIGNED] );
unset( $t_status_change[RESOLVED] );
unset( $t_status_change[CLOSED] );
if ( in_array( $p_notify_type, $t_status_change ) ) {
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|