Fix getext to gettext typo
This commit is contained in:
parent
24516832ea
commit
29af62653b
|
@ -61,9 +61,9 @@ function gre_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_gres[$_GET['id']]))
|
||||
$input_errors[] = getext("Wrong index supplied");
|
||||
$input_errors[] = gettext("Wrong index supplied");
|
||||
/* check if still in use */
|
||||
else if (gre_inuse($_GET['id'])) {
|
||||
$input_errors[] = gettext("This GRE tunnel cannot be deleted because it is still being used as an interface.");
|
||||
|
|
Reference in New Issue