diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 1d766c426c04dfe06c777ae303c2b0ac505e081d..be7e09773576c1a9189ee8e6f16dda666779acdf 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -181,7 +181,7 @@ if($users){ foreach($users as $user){ - if($user->longitude != undefined && $user->longitude != "" && $user->map_explanation != undefined && $user->map_explanation != "") + if($user->longitude != undefined && $user->longitude != "" && $user->map_explanation != undefined && $user->map_explanation != ""){ echo "<div class=\"member_icon\"><img onclick=\"window.openLocation('" . $user->longitude . "','" . $user->latitude . "','" . $user->username . "',"; if($user->profile_country) echo "'" . $user->profile_country . " - " . str_replace("'","\'",htmlentities($user->profile_city)) . ", " . $user->profile_state . "',"; @@ -193,7 +193,8 @@ else echo "''"; echo ",'". str_replace("'","\'",htmlentities($user->map_explanation))."');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>"; - else{} + } + else{} } } ?>