From 0cc249e68ad687750781ab59a4e63808f56d9048 Mon Sep 17 00:00:00 2001 From: osmiy Date: Thu, 14 Jun 2007 14:40:47 +0000 Subject: - merged -r4298:4299 of branches/1.4.1/ (Eugene) [fixed 'Field [formula] is not double'] git-svn-id: svn://svn.zabbix.com/trunk@4301 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/forms.inc.php | 1 + 1 file changed, 1 insertion(+) (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 48e0a298..613219e6 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -1748,6 +1748,7 @@ $frmItem->AddVar("multiplier",$multiplier); } + if( !is_numeric($formula)) $formula = 1; if($multiplier == 1) { $frmItem->AddRow(S_CUSTOM_MULTIPLIER, new CTextBox("formula",$formula,40,$limited)); -- cgit