added missing error message if saving host profile fails
This commit is contained in:
parent
e6c8142159
commit
1b7774cf5c
|
@ -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>");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue