diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2017-06-05 11:57:18 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-06-05 11:57:18 +0200 |
| commit | 34fb146ab5c5e5c52541a5c8191043a94bfa0cd1 (patch) | |
| tree | f128434b5609c409deb4c3122dfde729f5526c0a /phpBB/posting.php | |
| parent | 4177edf33a010b20c32e908e307ae0729d880af1 (diff) | |
| parent | 05a8baffdbb8bcca05ab927b11f687de99ac7ea9 (diff) | |
| download | forums-34fb146ab5c5e5c52541a5c8191043a94bfa0cd1.tar forums-34fb146ab5c5e5c52541a5c8191043a94bfa0cd1.tar.gz forums-34fb146ab5c5e5c52541a5c8191043a94bfa0cd1.tar.bz2 forums-34fb146ab5c5e5c52541a5c8191043a94bfa0cd1.tar.xz forums-34fb146ab5c5e5c52541a5c8191043a94bfa0cd1.zip | |
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 6d4c3cb395..0b6b9c5969 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1073,7 +1073,10 @@ if ($submit || $preview || $refresh) // Validate username if (($post_data['username'] && !$user->data['is_registered']) || ($mode == 'edit' && $post_data['poster_id'] == ANONYMOUS && $post_data['username'] && $post_data['post_username'] && $post_data['post_username'] != $post_data['username'])) { - include($phpbb_root_path . 'includes/functions_user.' . $phpEx); + if (!function_exists('validate_username')) + { + include($phpbb_root_path . 'includes/functions_user.' . $phpEx); + } $user->add_lang('ucp'); |
