summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/cvar.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-19 15:34:39 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-19 15:34:39 +0000
commit938eeba4af4a46126fc4d2fcbe46c15c98d70090 (patch)
treedaf653ad9c11f00b291719b19c19adcb72ca20f1 /frontends/php/include/classes/cvar.inc.php
parenta901997b009039670ecc3144465ecea54d16af4a (diff)
downloadzabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.tar.gz
zabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.tar.xz
zabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.zip
- developed configuration interface of http monitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3732 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cvar.inc.php')
-rw-r--r--frontends/php/include/classes/cvar.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/cvar.inc.php b/frontends/php/include/classes/cvar.inc.php
index 7b7c3a11..8703a559 100644
--- a/frontends/php/include/classes/cvar.inc.php
+++ b/frontends/php/include/classes/cvar.inc.php
@@ -27,11 +27,11 @@
parent::CTag('input','no');
$this->options['type'] = 'hidden';
$this->options['name'] = $name;
- $this->options['value'] = $value;
+ $this->SetValue($value);
}
function SetValue($value)
{
- $this->options['value'] = $value;
+ $this->options['value'] = htmlspecialchars($value);
}
}