summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:17:39 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:17:39 +0000
commitee4590eedb2dc03a5fa70975ea893f42172944b3 (patch)
tree17314eca1219b64e97060241996b0202cb76a39d /frontends/php/include/config.inc.php
parentb732e186700a82ef7355ddebeb9e59bfdeb79fdc (diff)
downloadzabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.tar.gz
zabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.tar.xz
zabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.zip
renamed 'uncnown' to 'unknown'
git-svn-id: svn://svn.zabbix.com/trunk@3873 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index bfa13fc4..b8c2b0ac 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1329,7 +1329,7 @@ $result =
}
- function get_profile($idx,$default_value=null,$type=PROFILE_TYPE_UNCNOWN)
+ function get_profile($idx,$default_value=null,$type=PROFILE_TYPE_UNKNOWN)
{
global $USER_DETAILS;
@@ -1341,7 +1341,7 @@ $result =
if($profile)
{
- if($type==PROFILE_TYPE_UNCNOWN)
+ if($type==PROFILE_TYPE_UNKNOWN)
$type = $profile["valuetype"];
$result = $profile["value"];
@@ -1362,7 +1362,7 @@ $result =
return $result;
}
- function update_profile($idx,$value,$type=PROFILE_TYPE_UNCNOWN)
+ function update_profile($idx,$value,$type=PROFILE_TYPE_UNKNOWN)
{
// SDI("Save profile:".$idx." = ".$value);
@@ -1373,7 +1373,7 @@ $result =
return;
}
- if($type==PROFILE_TYPE_UNCNOWN && is_array($value)) $type = PROFILE_TYPE_ARRAY;
+ if($type==PROFILE_TYPE_UNKNOWN && is_array($value)) $type = PROFILE_TYPE_ARRAY;
if($type==PROFILE_TYPE_ARRAY && !is_array($value)) $value = array($value);
switch($type)