From 75c065515ac740115f26016156aa537f1bf0ee74 Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Fri, 11 Dec 2009 15:24:42 +0000
Subject: [PATCH] fix so dburge2 can see prospective students list

---
 plugins/browse/prospective.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php
index 6ec66d41..e1a0727e 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>';
 					
-- 
GitLab