summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-22 11:06:33 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-22 11:06:33 -0400
commit2b258b1a9ad9049c19f264187372553fe9b1c09d (patch)
tree469b00111b47e6cddd1706c914318391367fa7fe /classes
parent73921da0f34dafd0ba5cc31b298307360f7d18c9 (diff)
use internal quoting code for manual query
darcs-hash:20080622150633-34904-2e26094807f989a62261f2247d0a53995eb5bac5.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index e8281a723..e8667d697 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -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) {