From 42858cb993ece4f6cdf86d3bc77a3e0451e2a66a Mon Sep 17 00:00:00 2001 From: osmiy Date: Mon, 13 Feb 2006 14:39:13 +0000 Subject: - fixed navigation bar for Sreens (Eugene) (http://www.zabbix.com/forum/showthread.php?t=2148) git-svn-id: svn://svn.zabbix.com/trunk@2637 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/validate.inc.php | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'frontends/php/include/validate.inc.php') diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php index 4de30e9a..39e9a66f 100644 --- a/frontends/php/include/validate.inc.php +++ b/frontends/php/include/validate.inc.php @@ -19,6 +19,13 @@ **/ ?> "; - unset($_REQUEST[$key]); + unset_request($key); } } } @@ -114,8 +120,7 @@ if(($flags&P_NZERO)&&(isset($_REQUEST[$field]))&&($_REQUEST[$field]==0)) { -//echo "Unset: $field
"; - unset($_REQUEST[$field]); + unset_request($field); } } } @@ -129,8 +134,7 @@ if(($flags&P_ACT)&&(isset($_REQUEST[$field]))) { -//echo "Unset:".$field."
"; - unset($_REQUEST[$field]); + unset_request($field); } } } @@ -139,8 +143,7 @@ { foreach($_REQUEST as $key => $val) { -//echo "Unset:".$key."
"; - unset($_REQUEST[$key]); + unset_request($key); } } @@ -231,8 +234,7 @@ if(!isset($_REQUEST[$field])) return ZBX_VALID_OK; -//echo "Unset:".$field."
"; - unset($_REQUEST[$field]); + unset_request($field); if($flags&P_SYS) { -- cgit