Skip to content

Commit b0bf7af

Browse files
committed
Removed realname validation
MantisBT 2.12 retired needed functions
1 parent c629596 commit b0bf7af

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

core/mail_api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ private function prepare_realname( $p_user_info, $p_username )
14051405
$t_realname = mb_substr( $t_realname, 0, DB_FIELD_SIZE_REALNAME );
14061406
}
14071407

1408-
if ( ( !function_exists( 'user_is_realname_valid' ) || user_is_realname_valid( $t_realname ) ) && user_is_realname_unique( $p_username, $t_realname ) )
1408+
if ( mb_strlen( $t_realname ) > 0 )
14091409
{
14101410
return( $t_realname );
14111411
}

doc/CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Okt 2017 - EmailReporting-0.10.1
1111
- Update HTTP permissions on the EmailReporting scripts folder
1212
- Use mbstring functions where applicable
1313
- Correct help link for MantisBT doku wiki EmailReporting page
14+
- Removed realname validation (MantisBT 2.12 retired needed functions)
1415

1516
Sep 2017 - EmailReporting-0.10.0
1617
- Officially compatible with MantisBT 2.x.x

0 commit comments

Comments
 (0)