diff options
author | Nathan Gass | 2023-03-01 14:27:28 +0100 |
---|---|---|
committer | Nathan Gass | 2023-03-01 14:27:28 +0100 |
commit | d455652427d89aa9a31776919218f20460fdc8e2 (patch) | |
tree | 49c4fabc64270581190e87033ef09a3f84ecced3 /it_dbi_postgres.class | |
parent | 569aaa65f5523069adb748715e36c9e3cba3992d (diff) | |
download | itools-d455652427d89aa9a31776919218f20460fdc8e2.tar.gz itools-d455652427d89aa9a31776919218f20460fdc8e2.tar.bz2 itools-d455652427d89aa9a31776919218f20460fdc8e2.zip |
adapt to newest php version
Diffstat (limited to 'it_dbi_postgres.class')
-rw-r--r-- | it_dbi_postgres.class | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/it_dbi_postgres.class b/it_dbi_postgres.class index 6af08d7..82d57d2 100644 --- a/it_dbi_postgres.class +++ b/it_dbi_postgres.class @@ -119,7 +119,8 @@ function __query($query, $p) if ($p['timeout'] && (microtime(true) - $starttime) > $p['timeout']) return false; $read = $error = [pg_socket($this->_link)]; - socket_select($read, [], $error, 1, 0); + $write = []; + stream_select($read, $write, $error, 1, 0); } while ($newresult = @pg_get_result($this->_link)) |