summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 0f2c319..4bf3735 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -62,13 +62,13 @@ if($_POST['xml'])
if(empty($xml)) {
$xml = "not_defined";
- print_info_box_np(gettext("ERROR: Could not open") . " " . $xml . ".");
+ print_info_box_np(sprintf(gettext("ERROR: Could not open %s."), $xml);
die;
} else {
if (file_exists("{$g['www_path']}/wizards/{$xml}"))
$pkg = parse_xml_config_pkg("{$g['www_path']}/wizards/" . $xml, "pfsensewizard");
else {
- print_info_box_np(gettext("ERROR: Could not open") . " " . $xml . ".");
+ print_info_box_np(sprintf(gettext("ERROR: Could not open %s."), $xml);
die;
}
}
OpenPOWER on IntegriCloud