use internal quoting code for manual query

darcs-hash:20080622150633-34904-2e26094807f989a62261f2247d0a53995eb5bac5.gz
This commit is contained in:
Evan Prodromou 2008-06-22 11:06:33 -04:00
parent 73921da0f3
commit 2b258b1a9a

View File

@ -68,7 +68,7 @@ class User extends DB_DataObject
$parts = array();
foreach (array('nickname', 'email') as $k) {
if ($this->$k != $orig->$k) {
$parts[] = $k . '="' . $this->$k . '"';
$parts[] = $k . '=' . $this->_quote($this->$k);
}
}
if (count($parts) == 0) {