diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-11-07 12:58:33 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-11-07 12:58:33 +0100 |
| commit | 599a0326923348e9f41050b71507b7d82fed86aa (patch) | |
| tree | 97213dd1f1342994d7087d491bc9d23c88c25d54 | |
| parent | 62121152e328fdb97dd811f26f196d0cdab6836d (diff) | |
| download | adodb-599a0326923348e9f41050b71507b7d82fed86aa.tar.gz adodb-599a0326923348e9f41050b71507b7d82fed86aa.tar.bz2 adodb-599a0326923348e9f41050b71507b7d82fed86aa.zip | |
Add connection parameter to pg_lo_unlink() call
Fixes #769
| -rw-r--r-- | drivers/adodb-postgres64.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adodb-postgres64.inc.php b/drivers/adodb-postgres64.inc.php index 746072c3..4b1a3260 100644 --- a/drivers/adodb-postgres64.inc.php +++ b/drivers/adodb-postgres64.inc.php @@ -388,7 +388,7 @@ class ADODB_postgres64 extends ADOConnection{ function BlobDelete( $blob ) { pg_query($this->_connectionID, 'begin'); - $result = @pg_lo_unlink($blob); + $result = @pg_lo_unlink($this->_connectionID, $blob); pg_query($this->_connectionID, 'commit'); return( $result ); } |
