diff options
-rw-r--r-- | dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -554,7 +554,7 @@ function update($tags = array(), $query = null) $query = array($this->_keyfield => $this->_data[$this->_keyfield]); if ($set = $this->_set($tags)) - if ($result = $this->query("UPDATE $this->_table " . $set . $this->_where($query))) + if ($result = $this->query("UPDATE $this->_table $set " . $this->_where($query))) if (isset($this->_key) && $this->read($this->_key)) $this->_nofetch = false; # So we can do while(iterate()) update(); |