Now displayes the server correctly after adding/editing the entry.

This commit is contained in:
skeeter 2002-02-18 05:05:09 +00:00
parent 8f5ede0559
commit 1dea9a67b8

View File

@ -230,11 +230,11 @@
{
if($GLOBALS['HTTP_GET_VARS']['server_id'])
{
$GLOBALS['phpgw']->template->set_var('message',lang('Server x has been updated',$server_name));
$GLOBALS['phpgw']->template->set_var('message',lang('Server x has been updated',$GLOBALS['HTTP_POST_VARS']['server_name']));
}
else
{
$GLOBALS['phpgw']->template->set_var('message',lang('Server x has been added',$server_name));
$GLOBALS['phpgw']->template->set_var('message',lang('Server x has been added',$GLOBALS['HTTP_POST_VARS']['server_name']));
}
}
if ((!$GLOBALS['HTTP_POST_VARS']['submit']) && (!$error) && (!$errorcount))