From 197bc5cadd3d2fc8826a5519248a6d8ebd0c60d9 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 19 Jan 2006 13:07:51 +0000 Subject: Frontend improvements. git-svn-id: svn://svn.zabbix.com/trunk@2543 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/forms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/include/forms.inc.php') diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 4201d63d..046db8dd 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -1285,7 +1285,7 @@ $smtp_email=@iif(isset($_REQUEST["smtp_email"]),$_REQUEST["smtp_email"],"zabbix@localhost"); $exec_path=@iif(isset($_REQUEST["exec_path"]),$_REQUEST["exec_path"],""); - if(isset($_REQUEST["mediatypeid"])) + if(isset($_REQUEST["mediatypeid"])&&$_REQUEST["form"]!=1) { $result=DBselect("select mediatypeid,type,description,smtp_server,smtp_helo,smtp_email,exec_path from media_type where mediatypeid=".$_REQUEST["mediatypeid"]); $row=DBfetch($result); -- cgit