diff options
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-x | usr/local/www/wizard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 66ea9ea..ff6ded1 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; } } |