summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/ctable.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-25 15:08:07 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-25 15:08:07 +0000
commit3d3f9639bc0524d6085d11041d70d23fbbda1c88 (patch)
tree6750314aafcbb445cfc34e25f812e1daf1ae0140 /frontends/php/include/classes/ctable.inc.php
parent6a0a2faf91cefb2d62cca7dc6faf685b5e90df03 (diff)
downloadzabbix-3d3f9639bc0524d6085d11041d70d23fbbda1c88.tar.gz
zabbix-3d3f9639bc0524d6085d11041d70d23fbbda1c88.tar.xz
zabbix-3d3f9639bc0524d6085d11041d70d23fbbda1c88.zip
- Frontend improvements (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2564 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/ctable.inc.php')
-rw-r--r--frontends/php/include/classes/ctable.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/classes/ctable.inc.php b/frontends/php/include/classes/ctable.inc.php
index bcb1998d..300d53b8 100644
--- a/frontends/php/include/classes/ctable.inc.php
+++ b/frontends/php/include/classes/ctable.inc.php
@@ -38,7 +38,7 @@
}
function SetRowSpan($value)
{
- if(!is_int($value))
+ if(!is_int($value) && !is_numeric($value))
{
return $this->error("Incorrect value for SetRowSpan [$value]");
return 1;
@@ -47,7 +47,7 @@
}
function SetColSpan($value)
{
- if(!is_int($value))
+ if(!is_int($value) && !is_numeric($value))
{
return $this->error("Incorrect value for SetColSpan[$value]");
}
@@ -174,7 +174,7 @@
}
function SetCellPadding($value)
{
- if(!is_int($value))
+ if(!is_int($value) && !is_numeric($value))
{
return $this->error("Incorrect value for SetCellpadding [$value]");
}
@@ -182,7 +182,7 @@
}
function SetCellSpacing($value)
{
- if(!is_int($value))
+ if(!is_int($value) && !is_numeric($value))
{
return $this->error("Incorrect value for SetCellSpacing [$value]");
}