From: Evan Prodromou Date: Sun, 22 Jun 2008 15:06:33 +0000 (-0400) Subject: use internal quoting code for manual query X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b258b1a9ad9049c19f264187372553fe9b1c09d;p=quix0rs-gnu-social.git use internal quoting code for manual query darcs-hash:20080622150633-34904-2e26094807f989a62261f2247d0a53995eb5bac5.gz --- 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) {