diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-22 11:32:20 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-22 11:32:20 -0400 |
commit | 1cab6c7d5043ce60469b9590aeb846034d575335 (patch) | |
tree | 063b5d7927f7578aec8a0db2f5e2a6a2507f3eb6 /classes/User.php | |
parent | 7bf88079a9bade4570f75f1b41479d2dcccf24ca (diff) |
strcmp for comparison
darcs-hash:20080622153220-34904-119cea6c5dbe20e33569287cf9632c07e9768b10.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index 94240392e..4fb6892ea 100644 --- a/classes/User.php +++ b/classes/User.php @@ -67,7 +67,7 @@ class User extends DB_DataObject function updateKeys(&$orig) { $parts = array(); foreach (array('nickname', 'email') as $k) { - if ($this->$k != $orig->$k) { + if (strcmp($this->$k, $orig->$k) != 0) { $parts[] = $k . ' = ' . $this->_quote($this->$k); } } |