X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fpq-gateway;a=blobdiff_plain;f=lib%2Fpq%2FQuery%2FWriter.php;h=f326f1ebc86a4e3d4d6808e04f4da3a08dcff66b;hp=55cb5a2089cfc1a5102b4465fe2b24205bd01dcd;hb=e2709f3f6de6d5c5ba272d353db16b015b5258b3;hpb=20d2b6bcce8f1c7a1aaa375b86ffb5be30674956 diff --git a/lib/pq/Query/Writer.php b/lib/pq/Query/Writer.php index 55cb5a2..f326f1e 100644 --- a/lib/pq/Query/Writer.php +++ b/lib/pq/Query/Writer.php @@ -139,6 +139,6 @@ class Writer * @return \pq\Result */ function exec(\pq\Connection $c) { - return $c->execParams($this, $this->params, $this->types); + return $c->execParams($this, $this->getParams(), $this->getTypes()); } }