Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
realname
Commits
1ba026e3
Commit
1ba026e3
authored
Nov 30, 2015
by
hass
Browse files
D8 backport of string change
parent
add48605
Changes
1
Hide whitespace changes
Inline
Side-by-side
realname.admin.inc
View file @
1ba026e3
...
...
@@ -62,7 +62,7 @@ function realname_settings_form($form, &$form_state) {
*/
function
realname_settings_form_validate
(
$form
,
&
$form_state
)
{
if
(
strpos
(
$form_state
[
'values'
][
'realname_pattern'
],
'[user:name]'
)
!==
FALSE
)
{
form_set_error
(
'realname_pattern'
,
t
(
'The
<em>[user:name]</em>
token cannot be used as it will cause recursion.'
));
form_set_error
(
'realname_pattern'
,
t
(
'The
%token
token cannot be used as it will cause recursion.'
,
array
(
'%token'
=>
'[user:name]'
)
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment