Fix getext to gettext typo

This commit is contained in:
Phil Davis 2014-10-31 08:08:54 +05:45
parent 29af62653b
commit 41aa5cd4da
1 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ function lagg_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
$input_errors[] = getext("Wrong parameters supplied");
$input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_laggs[$_GET['id']]))
$input_errors[] = getext("Wrong index supplied");
$input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (lagg_inuse($_GET['id'])) {
$input_errors[] = gettext("This LAGG interface cannot be deleted because it is still being used.");