Description | In the administration page 'manage_config_email.php', the checkboxes for the row 'relationship change' is not correct.
Documentation in config_defaults.php stipulates about g_notify_flags :
'relation': a relationship has changed on this bug
and this key is used in email_api.
However, in manage_config_email.php, the key used is 'relationship'. Thus changes in global config_inc.php are not reflected in the web page.
<tt>
--- mantis-1.1.1/manage_config_email_page.php
+++ mantis-new/manage_config_email_page.php
@@ -193,7 +193,7 @@
$t_actions[] = 'sponsor';
}
if( config_get( 'enable_relationship' ) == ON ) {
- $t_actions[] = 'relationship';
- $t_actions[] = 'relation';
}
$t_statuses = get_enum_to_array( config_get( 'status_enum_string' ) );
foreach( $t_statuses as $t_status ) {
@@ -262,7 +262,7 @@
get_capability_row_for_email( lang_get( 'email_on_sponsorship_changed' ), 'sponsor' );
}
if( config_get( 'enable_relationship' ) == ON ) {
- get_capability_row_for_email( lang_get( 'email_on_relationship_changed' ), 'relationship' );
- get_capability_row_for_email( lang_get( 'email_on_relationship_changed' ), 'relation' );
}
$t_statuses = explode_enum_string( config_get( 'status_enum_string' ) );
foreach( $t_statuses as $t_status ) {
</tt>
|
---|