flush
[m6w6/pq-gateway] / lib / pq / Gateway / Cell.php
index 730efb07bc4a36c1058bd77a3878a5bd6e755d85..ba58404a7c190c261cb82c78ec2e2a42240147c5 100644 (file)
@@ -64,6 +64,8 @@ class Cell
         */
        function mod($data, $op = null) {
                if (!($this->data instanceof Expr)) {
+                       $this->data = new Expr($this->name);
+                       /*
                        if (!isset($this->data)) {
                                $this->data = new Expr($this->name);
                        } elseif (is_numeric($this->data)) {
@@ -71,6 +73,7 @@ class Cell
                        } else {
                                $this->data = new Expr("%s", $this->row->getTable()->getConnection()->quote($this->data));
                        }
+                       */
                }
                
                if ($data instanceof Expr) {