summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 9d295c5a..e7247de8 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -1365,7 +1365,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["register"]) && ($_REQUEST["register"] == "change"))
+ if(isset($_REQUEST["mediatypeid"]))
{
$result=DBselect("select mediatypeid,type,description,smtp_server,smtp_helo,smtp_email,exec_path from media_type where mediatypeid=".$_REQUEST["mediatypeid"]);
$row=DBfetch($result);