Skip to content

Commit e010573

Browse files
committed
user_is_realname_valid function does not exist in MantisBT 1.3.x
1 parent effff9e commit e010573

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
@@ -1258,7 +1258,7 @@ private function prepare_realname( $p_user_info, $p_username )
12581258
$t_realname = utf8_substr( $t_realname, 0, DB_FIELD_SIZE_REALNAME );
12591259
}
12601260

1261-
if ( user_is_realname_valid( $t_realname ) && user_is_realname_unique( $p_username, $t_realname ) )
1261+
if ( ( !function_exists( 'user_is_realname_valid' ) || user_is_realname_valid( $t_realname ) ) && user_is_realname_unique( $p_username, $t_realname ) )
12621262
{
12631263
return( $t_realname );
12641264
}

doc/CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Jun 2016 - EmailReporting-0.9.2-DEV
33
- Fixed collation check issue with MantisBT 1.3.x
44
- Modified the user option list to also check user accessible projects
55
- Show missing user id behind the error in the user option list
6+
- user_is_realname_valid function does not exist in MantisBT 1.3.x
67

78
May 2016 - EmailReporting-0.9.1
89
- Modified error message incase no valid reporter could be found

0 commit comments

Comments
 (0)