Skip to content
Snippets Groups Projects
Commit 563d96ba authored by Greg Knaddison's avatar Greg Knaddison
Browse files

#187499 by greggles, if i18n-ascii.txt is removed, reset the transliterate...

#187499 by greggles, if i18n-ascii.txt is removed, reset the transliterate option since it is disabled and the admin can't do it
parent 0c5e78e8
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,10 @@ function pathauto_admin_settings() {
$disable_transliteration = FALSE;
$transliteration_help = "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is determined by the i18n-ascii.txt file in the Pathauto directory.";
}
else {
// Perhaps they've removed the file, set the transliterate option to FALSE
variable_set('pathauto_transliterate', FALSE);
}
$form["general"]["pathauto_transliterate"] = array('#type' => 'checkbox',
'#title' => t('Transliterate prior to creating 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