Skip to content

Commit 28da411

Browse files
author
foobar
committed
MFH
1 parent 1577206 commit 28da411

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/pgsql/pgsql.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,10 @@ PHP_FUNCTION(pg_cmdtuples)
885885

886886
/* {{{ proto int pg_last_notice(int connection)
887887
Returns the last notice set by the backend */
888-
PHP_FUNCTION(pg_last_notice) {
888+
PHP_FUNCTION(pg_last_notice)
889+
{
890+
PGLS_FETCH();
891+
889892
if (PGG(last_notice) == NULL) {
890893
RETURN_FALSE;
891894
} else {

0 commit comments

Comments
 (0)