summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/actions.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-07 09:27:20 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-07 09:27:20 +0000
commit2d76733fbfa2cdb0935210e524f373c18ef47ee9 (patch)
treed40cf2e113983d93e2c11af9bb5ad45a54235587 /frontends/php/include/actions.inc.php
parent4ceb822c9fdd9cb84040e4d104942c6dc565504e (diff)
downloadzabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.tar.gz
zabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.tar.xz
zabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.zip
- fixed graphs in Oracle system (Eugene)
- fixed trigger expressions with ':' (Eugene) - fixed 'Server info' screen componets (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3804 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/actions.inc.php')
-rw-r--r--frontends/php/include/actions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php
index 327b4e20..c8138d46 100644
--- a/frontends/php/include/actions.inc.php
+++ b/frontends/php/include/actions.inc.php
@@ -256,7 +256,7 @@
foreach($cmd_list as $cmd)
{
$cmd = trim($cmd, "\x00..\x1F");
- if(!ereg("^([0-9a-zA-Z\_\.-]{1,})(:|#)[[:print:]]*$",$cmd,$cmd_items)){
+ if(!ereg("^([0-9a-zA-Z\_\.[.-.]]{1,})(:|#)[[:print:]]*$",$cmd,$cmd_items)){
error("incorrect command: '$cmd'");
return FALSE;
}