Skip to content
Snippets Groups Projects
Commit 2e51494f authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5886: fixing error message when validating urls

parent f1a5685d
No related branches found
No related tags found
3 merge requests!286ISTWCMS-5866 Prevent URL aliases being created for reserved paths,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -985,7 +985,7 @@ function _uw_cfg_common_alias_validate(array &$form, FormStateInterface $form_st
) {
// Set an error message if alias exists.
$form_state->setError($form['path']['widget'][0]['alias'], t('@url cannot be an alias', ['@url' => $alias]));
$form_state->setError($form['path']['widget'][0]['alias'], t('@url cannot be an alias.', ['@url' => $alias]));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment