diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-11 13:51:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-11 13:51:07 +0000 |
commit | 31741b2c99866459da71a7c6d84b430b527161e3 (patch) | |
tree | 296d646b752a4768b995f7da0b28468952e5515f /includes/database.pgsql.inc | |
parent | 6733014fc40a38dc031c9f4f1292f0c647671ca0 (diff) | |
download | brdo-31741b2c99866459da71a7c6d84b430b527161e3.tar.gz brdo-31741b2c99866459da71a7c6d84b430b527161e3.tar.bz2 |
- Patch #25522 by Cvbge: _db_query() does not return FALSE in case of errors as stated in documentation.
Diffstat (limited to 'includes/database.pgsql.inc')
-rw-r--r-- | includes/database.pgsql.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc index c418c2dd9..2089265c3 100644 --- a/includes/database.pgsql.inc +++ b/includes/database.pgsql.inc @@ -84,6 +84,7 @@ function _db_query($query, $debug = 0) { } else { trigger_error(pg_last_error() ."\nquery: ". htmlspecialchars($query), E_USER_ERROR); + return FALSE; } } |