summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-30 11:36:15 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-30 11:36:15 +0000
commitac9c6ecc360df3e9347194fbb2924b2bf68954f4 (patch)
treea0f29bb7e8d470b6576adc7248e97cc91ea9da6b /frontends/php/include/db.inc.php
parentd5dce47a8b216a4db6ba2d075edd0e2de7556b6a (diff)
- added Graphs synchronization for linked hosts (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2458 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 2b04fdae..26716087 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -97,6 +97,7 @@
$result=pg_exec($DB,$query);
return $result;
}
+ return FALSE;
}
function DBfetch($result)
@@ -113,6 +114,7 @@
$row=pg_fetch_array($result);
return $row;
}
+ return FALSE;
}
function get_field($result,$rownum,$fieldnum)
@@ -149,6 +151,7 @@
{
return pg_numrows($result);
}
+ return 0;
}
function DBinsert_id($result,$table,$field)