From 2b258b1a9ad9049c19f264187372553fe9b1c09d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 22 Jun 2008 11:06:33 -0400 Subject: [PATCH] use internal quoting code for manual query darcs-hash:20080622150633-34904-2e26094807f989a62261f2247d0a53995eb5bac5.gz --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index e8281a7231..e8667d6975 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) { -- 2.39.5