summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/html.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-27 13:38:50 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-27 13:38:50 +0000
commitef76479c1aeefa6f7920473f8be38292dfdbc837 (patch)
treeea973e1f148d051ba0260099464d48efe7a37e1a /frontends/php/include/html.inc.php
parentedf199a4f93b92945ef8a0f0a92730e4ec4f378e (diff)
downloadzabbix-ef76479c1aeefa6f7920473f8be38292dfdbc837.tar.gz
zabbix-ef76479c1aeefa6f7920473f8be38292dfdbc837.tar.xz
zabbix-ef76479c1aeefa6f7920473f8be38292dfdbc837.zip
- developed multitemplate system (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3388 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/html.inc.php')
-rw-r--r--frontends/php/include/html.inc.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php
index 385675f1..2a57bb43 100644
--- a/frontends/php/include/html.inc.php
+++ b/frontends/php/include/html.inc.php
@@ -103,7 +103,8 @@
function url_param($parameter,$request=true,$name=null)
{
-
+ if(!$request && !isset($name)) fatal_error('not request variable require url name [url_param]');
+
$result = "";
if(!isset($name)) $name = $parameter;
@@ -116,9 +117,7 @@
}
else
{
- global $$parameter;
-
- $var =& $$parameter;
+ $var =& $parameter;
}
if(isset($var))