From 1b7774cf5c3d8b0dc187ae512a84e140e815ff82 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 16 Mar 2004 14:40:29 +0000 Subject: [PATCH] added missing error message if saving host profile fails --- lam-0.4/templates/profedit/profilecreate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lam-0.4/templates/profedit/profilecreate.php b/lam-0.4/templates/profedit/profilecreate.php index e15a07eb..4c622f9b 100644 --- a/lam-0.4/templates/profedit/profilecreate.php +++ b/lam-0.4/templates/profedit/profilecreate.php @@ -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 ("

" . _("Back to Profile Editor") . "

"); }