title: Zend_Db_Table_Abstract::update() possible bug
body: <p>I have this code</p>
  
  <pre><code>$db = Zend_Db_Table_Abstract::getDefaultAdapter();
  $users_table = new Application_Model_UserModel();
  $result = $users_table-&gt;update(array(
      "confirmed" =&gt; 1,
      "key" =&gt; null
  ), array(
      $db-&gt;quoteInto("'type' = ?", Application_Model_UserModel::TYPE_AWATAG),
      "'confirmed' = 0",
      $db-&gt;quoteInto("'id' = ?", $id),
      $db-&gt;quoteInto("'key' = ?", $key)
  ));
  
  // no record updated
  if ($result == 0) {
  
      throw new Zend_Exception("User not found.");
  
  }
  </code></pre>
  
  <p>that throws the exception (ie: the user record has not been updated), even that all the where conditions are correct.</p>
  
  <p>Is a bug? Do you see any error?</p>
  
  <p><strong>Solution</strong></p>
  
  <p>I unquoted all columns name and added table reference in this way:</p>
  
  <pre><code>tablename.columnname = newvalue
  </code></pre>
  
  <p>Thanks for watching :)</p>