summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/User.php')
-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) {