Index: core/cfdefs/cfdef_mantisuser.php =================================================================== --- core/cfdefs/cfdef_mantisuser.php (révision 35968) +++ core/cfdefs/cfdef_mantisuser.php (copie de travail) @@ -143,15 +143,16 @@ * Code pilfered from adm_config_set.php. * @access private */ -function constant_replace( $p_name ) { - $t_result = $p_name; - if ( is_string( $p_name ) && defined( $p_name ) ) { - // we have a constant - $t_result = constant( $p_name ); - } - return $t_result; +if (!function_exists('constant_replace')) { + function constant_replace( $p_name ) { + $t_result = $p_name; + if ( is_string( $p_name ) && defined( $p_name ) ) { + // we have a constant + $t_result = constant( $p_name ); + } + return $t_result; + } } - /** * Sort the user rows returned by project_get_all_user_rows() * Code pilfered from print_user_option_list.php.