MDL-15251 fixed syntax errror

This commit is contained in:
skodak
2008-06-16 11:18:33 +00:00
parent 6f96466d37
commit 12ad6ebaa8
+1 -1
View File
@@ -218,7 +218,7 @@
}
$countries = get_list_of_countries();
if (!empty($countries[$user->country]) && !isset($hiddenfields['country'])) {
if ($user->city && !isset($hiddenfields['city'] && !isset($hiddenfields['country'])) {
if ($user->city && !isset($hiddenfields['city']) && !isset($hiddenfields['country'])) {
$location .= ', ';
}
$location .= $countries[$user->country];