Skip to content

Commit

Permalink
fixing #2887
Browse files Browse the repository at this point in the history
  • Loading branch information
biakaveron committed May 24, 2010
1 parent 77a1c6a commit a1c9e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/model/auth/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public function unique_key_exists($value)
return (bool) DB::select(array('COUNT("*")', 'total_count'))
->from($this->_table_name)
->where($this->unique_key($value), '=', $value)
->where($this->_primary_key, '!=', $this->pk())
->execute($this->_db)
->get('total_count');
}
Expand Down

0 comments on commit a1c9e33

Please sign in to comment.