diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index e1a0727ef7705d4292cd5835c607db615751a10e..fd94980a063f33b9aed690e46e09d5d384bf48e9 100644 --- a/plugins/browse/prospective.php +++ b/plugins/browse/prospective.php @@ -7,7 +7,8 @@ $uniquevariablenamethatwontgetconfusedwithsomeothervariable = get_loggedin_user(); if( isadminloggedin() || $uniquevariablenamethatwontgetconfusedwithsomeothervariable['username']=="unl_dburge2") { - echo '<h1>All Planet Red Prospective students as of '. date("m/d/Y") .'</h1>'; + $is_admin = true; + echo '<h1>All Planet Red Prospective students as of '. date("m/d/Y") .'</h1>'; $roles = get_entities_from_metadata("profile_role", "prospective student"|"Prospective Student", "user","",0,300); @@ -42,7 +43,7 @@ } echo '</tbody></table>'; - + $is_admin = false; } else {