summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
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)