diff --git a/main/admin/languages.php b/main/admin/languages.php index 309c3851bb..6920e1a993 100644 --- a/main/admin/languages.php +++ b/main/admin/languages.php @@ -32,7 +32,7 @@ api_protect_admin_script(); //Ajax request if (isset($_POST['sent_http_request'])) { if (isset($_POST['visibility']) && $_POST['visibility'] == strval(intval($_POST['visibility'])) && $_POST['visibility'] == 0) { - if (isset($_POST['id']) && $_POST['id'] == strval(intval($_POST['id']))) { + if (isset($_POST['id']) && $_POST['id'] == strval(intval($_POST['id']))) { if (SubLanguageManager::check_if_language_is_used($_POST['id']) == false) { SubLanguageManager::make_unavailable_language($_POST['id']); echo 'set_hidden'; @@ -88,9 +88,9 @@ $htmlHeadXtra[] = '