added missing error message if saving host profile fails

This commit is contained in:
Roland Gruber 2004-03-16 14:40:29 +00:00
parent e6c8142159
commit 1b7774cf5c
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ elseif ($_GET['type'] == "host") {
if (saveHostProfile($acct, $profname)) {
echo StatusMessage("INFO", _("Profile was saved."), $profname);
}
else StatusMessage("ERROR", _("Unable to save profile!"), $profname);
echo ("<br><p><a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a></p>");
}