Skip to content
Snippets Groups Projects
Commit d59ddc82 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

profile_role is saved as lowercase so the check needs to look for lowercase string

parent e4f936c9
Branches
Tags
No related merge requests found
...@@ -131,20 +131,20 @@ ...@@ -131,20 +131,20 @@
<div class="globeGroup two_col middle" id="plotRoles"> <div class="globeGroup two_col middle" id="plotRoles">
<h3 class="sec_header"><?php echo $me->profile_role; <h3 class="sec_header"><?php
if($me->profile_role == 'Prospective Student') if($me->profile_role == 'prospective student')
echo 'Other Prospective Students'; echo 'Other Prospective Students';
else if($me->profile_role == 'Current Student') else if($me->profile_role == 'current student')
echo 'Other Students'; echo 'Other Students';
else if($me->profile_role == 'Parent of a Student') else if($me->profile_role == 'parent of a student')
echo 'Fellow Parents'; echo 'Fellow Parents';
else if($me->profile_role == 'Alumnus') else if($me->profile_role == 'alumnus')
echo 'Other Alumni'; echo 'Other Alumni';
else if($me->profile_role == 'Faculty/Staff') else if($me->profile_role == 'faculty/staff')
echo 'Other Faculty/Staff'; echo 'Other Faculty/Staff';
else if($me->profile_role == 'Nebraska Resident') else if($me->profile_role == 'nebraska resident')
echo 'Other Residents of Nebraska'; echo 'Other Residents of Nebraska';
else if($me->profile_role == 'Friend of the University') else if($me->profile_role == 'friend of the university')
echo 'Other Friends of UNL'; echo 'Other Friends of UNL';
else else
echo 'Other Users Like You'; echo 'Other Users Like You';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment