This commit is contained in:
foobar 2001-06-04 08:06:07 +00:00
parent fadd1472ea
commit d1a382a1e8

View File

@ -885,7 +885,10 @@ PHP_FUNCTION(pg_cmdtuples)
/* {{{ proto int pg_last_notice(int connection)
Returns the last notice set by the backend */
PHP_FUNCTION(pg_last_notice) {
PHP_FUNCTION(pg_last_notice)
{
PGLS_FETCH();
if (PGG(last_notice) == NULL) {
RETURN_FALSE;
} else {