From 11f5ce6cef37a10e7777fdbd5f22932a91b4952e Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 1 Aug 2007 13:31:43 +0000 Subject: - minor fix for cleaning of zero variables (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@4499 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/cform.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends') diff --git a/frontends/php/include/classes/cform.inc.php b/frontends/php/include/classes/cform.inc.php index c61baf42..90d1a0c1 100644 --- a/frontends/php/include/classes/cform.inc.php +++ b/frontends/php/include/classes/cform.inc.php @@ -62,7 +62,7 @@ function AddVar($name, $value) { - if(empty($value)) return $value; + if(empty($value) && $value != 0) return $value; return $this->AddItem(new CVar($name, $value)); } -- cgit