Skip to content

Commit

Permalink
Fix critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
parshikov committed Oct 28, 2013
1 parent 3aefafc commit eb80c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Petrovich.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,6 @@ private function getGender($gender) {
* @return bool
*/
private function checkGender($gender) {
return $this->gender === $this->getGender($gender) || $this->gender === Petrovich::GENDER_ANDROGYNOUS;
return $this->gender === $this->getGender($gender) || $this->getGender($gender) === Petrovich::GENDER_ANDROGYNOUS;
}
}

0 comments on commit eb80c8b

Please sign in to comment.