summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 13:06:35 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 13:06:35 +0000
commit412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba (patch)
treedd9031b558ca80e00c862c95424d1dfe0297a92b /frontends/php/include/db.inc.php
parent2d69d2f3070bc71ef09d064da117f69c14b8206d (diff)
- [DEV-178] improved the permissions scheme (not finished in DM) (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5758 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 3b71a16b..69621042 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -610,8 +610,7 @@ else {
return $result;
}
- function id2nodeid($id_var)
- {
+ function id2nodeid($id_var){
return (int)bcdiv("$id_var",'100000000000000');
}
@@ -656,7 +655,7 @@ else {
return uint_in_array(id2nodeid($id_var), $nodes);
}
- function get_dbid($table,$field){
+ function get_dbid($table,$field){
$nodeid = get_current_nodeid(false);
$found = false;