diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index 6ec66d4110e6f83b9243363ebc973c33d027db5a..e1a0727ef7705d4292cd5835c607db615751a10e 100644 --- a/plugins/browse/prospective.php +++ b/plugins/browse/prospective.php @@ -1,11 +1,11 @@ -<?php +<?php // Get the Elgg framework require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); gatekeeper(); - - if( isadminloggedin() || get_loggedin_user()=="unl_dburge2") { + $uniquevariablenamethatwontgetconfusedwithsomeothervariable = get_loggedin_user(); + if( isadminloggedin() || $uniquevariablenamethatwontgetconfusedwithsomeothervariable['username']=="unl_dburge2") { echo '<h1>All Planet Red Prospective students as of '. date("m/d/Y") .'</h1>';