use internal quoting code for manual query
darcs-hash:20080622150633-34904-2e26094807f989a62261f2247d0a53995eb5bac5.gz
This commit is contained in:
parent
73921da0f3
commit
2b258b1a9a
|
@ -68,7 +68,7 @@ class User extends DB_DataObject
|
||||||
$parts = array();
|
$parts = array();
|
||||||
foreach (array('nickname', 'email') as $k) {
|
foreach (array('nickname', 'email') as $k) {
|
||||||
if ($this->$k != $orig->$k) {
|
if ($this->$k != $orig->$k) {
|
||||||
$parts[] = $k . '="' . $this->$k . '"';
|
$parts[] = $k . '=' . $this->_quote($this->$k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count($parts) == 0) {
|
if (count($parts) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user