- Patch #89454 by chx: made deleting a locale language work.

5.x
Dries Buytaert 2006-10-23 21:04:12 +00:00
parent a911066ad2
commit 83e7250b96
1 changed files with 1 additions and 2 deletions

View File

@ -319,9 +319,8 @@ function locale_admin_manage() {
/**
* User interface for the language deletion confirmation screen.
*/
function locale_admin_manage_delete_form() {
function locale_admin_manage_delete_form($langcode) {
include_once './includes/locale.inc';
$langcode = arg(4);
// Do not allow deletion of English locale.
if ($langcode == 'en') {