diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-21 12:00:21 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-21 12:00:21 +0000 |
| commit | 9ec23c020ded178f8de8dc8787ea106f2277b668 (patch) | |
| tree | a03287a362352d9cf7f0fec5d5014a004838f846 /frontends/php/include/config.inc.php | |
| parent | e8f9bd81e90e9abfcbc3860a872df9c11497ccc2 (diff) | |
- minor change (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2761 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index ac694a90..b4e4f1b8 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -20,6 +20,7 @@ function SDI($msg="SDI") { echo "DEBUG INFO: $msg ".BR; } // DEBUG INFO!!! + ?> <?php include_once("include/copt.lib.php"); @@ -2533,6 +2534,8 @@ COpt::profiling_start("page"); function replace_value_by_map($value, $valuemapid) { + if($valuemapid < 1) return $value; + $result = DBselect("select newvalue from mappings". " where valuemapid=".zbx_dbstr($valuemapid)." and value=".zbx_dbstr($value)); if(DBnum_rows($result)) |
