Skip to content

Commit

Permalink
fix country check
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed May 25, 2015
1 parent 3cb847b commit 12008ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PServerCMS/Service/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ protected function addDefaultRole( UserInterface $user )
protected function setAvailableCountries4User( UserInterface $user, $ip )
{
// skip if the config say no check, so we don´t have to save the country in list
if ($this->isCountryCheckOption()) {
if (!$this->isCountryCheckOption()) {
return;
}

Expand Down

0 comments on commit 12008ad

Please sign in to comment.