mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
This commit is contained in:
parent
48aa99f6be
commit
7a102a4669
@ -531,7 +531,8 @@ PHP_FUNCTION(pg_close)
|
||||
|
||||
if (id!=-1
|
||||
|| (pgsql_link && Z_RESVAL_PP(pgsql_link)==PGG(default_link))) {
|
||||
zend_list_delete(PGG(default_link));
|
||||
if (id!=-1)
|
||||
zend_list_delete(PGG(default_link));
|
||||
PGG(default_link) = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user