fix
[m6w6/pq-gateway] / lib / pq / Gateway / Row.php
index 0a2820aa612b5462fd537a214d0c3bff63ef4e83..e408430c736293fa3750ce810f31600500db1169 100644 (file)
@@ -130,7 +130,7 @@ class Row implements \JsonSerializable
         */
        function __get($p) {
                if (!isset($this->cell[$p])) {
-                       $this->cell[$p] = new Cell($this, $p, $this->data[$p]);
+                       $this->cell[$p] = new Cell($this, $p, isset($this->data[$p]) ? $this->data[$p] : null);
                }
                return $this->cell[$p];
        }