From 49d487a654117d9ad1a1860bf466d5c924702ae6 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Mon, 31 Aug 2009 15:36:05 +0000 Subject: [PATCH] oops, no {} --- customindex/views/default/customindex/content.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 1d766c42..be7e0977 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{} } } ?> -- GitLab