Skip to content
Snippets Groups Projects
Commit 9123a3d2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #190867 by Damien Tournoud: remove access check when creating aliases.

parent aade5fbf
No related branches found
No related tags found
No related merge requests found
......@@ -139,8 +139,8 @@ function path_admin_form_validate($form, &$form_state) {
form_set_error('dst', t('The alias %alias is already in use in this language.', array('%alias' => $dst)));
}
$item = menu_get_item($src);
if (!$item || !$item['access']) {
form_set_error('src', t("The path '@link_path' is either invalid or you do not have access to it.", array('@link_path' => $src)));
if (!$item) {
form_set_error('src', t("The path '@link_path' is invalid.", array('@link_path' => $src)));
}
}
......
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