summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/cformtable.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-03 17:03:31 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-03 17:03:31 +0000
commit46f4daf879cb71b022874fc3b6551d97d400fe1b (patch)
treea9e4d56860802c11418a3a67da3d91a82b9e911f /frontends/php/include/classes/cformtable.inc.php
parent1f829e896d022a4ed202d443d127346d26cbf7f2 (diff)
downloadzabbix-46f4daf879cb71b022874fc3b6551d97d400fe1b.tar.gz
zabbix-46f4daf879cb71b022874fc3b6551d97d400fe1b.tar.xz
zabbix-46f4daf879cb71b022874fc3b6551d97d400fe1b.zip
- Frontend improvements (Eugene)
+ Configuration -> General (finished) + Configuration -> Users (finished) + Configuration -> Hosts (finished) + Configuration -> Items (finished) git-svn-id: svn://svn.zabbix.com/trunk@2603 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cformtable.inc.php')
-rw-r--r--frontends/php/include/classes/cformtable.inc.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/frontends/php/include/classes/cformtable.inc.php b/frontends/php/include/classes/cformtable.inc.php
index 9cd1a63d..e1f4b44b 100644
--- a/frontends/php/include/classes/cformtable.inc.php
+++ b/frontends/php/include/classes/cformtable.inc.php
@@ -49,11 +49,13 @@
}
function SetAction($value)
{
- if(!is_string($value))
- {
- return $this->error("Incorrect value for SetAlign [$value]");
- }
- parent::SetAction($value."#form");
+
+ if(is_string($value))
+ return parent::SetAction($value."#form");
+ elseif(is_null($value))
+ return parent::SetAction($value);
+ else
+ return $this->error("Incorrect value for SetAction [$value]");
}
function SetAlign($value)
{