From 34afab6f4499e2d3bd42d716eec56998ec05388c Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Thu, 20 Aug 2009 19:47:22 +0000
Subject: [PATCH] added missing brackets

---
 unl_theme/actions/login.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/unl_theme/actions/login.php b/unl_theme/actions/login.php
index aa8937b6..3568021f 100644
--- a/unl_theme/actions/login.php
+++ b/unl_theme/actions/login.php
@@ -50,7 +50,7 @@
             		datalist_set('first_admin_login', time());
             		
             		forward('pg/admin/plugins');
-            	} else	
+            	} else	{
             	/* here's the modifications we're making
             		forward("pg/dashboard/"); */
             	
@@ -59,6 +59,7 @@
             			forward('mod/profile/edit.php?firstlogin=yes');
             		}
             		forward("pg/profile/$username");
+            	}
             }
         } else {
         	$error_msg = elgg_echo('loginerror');
-- 
GitLab