summary refs log tree commit diff stats
path: root/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/session.php')
-rwxr-xr-xincludes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/session.php b/includes/session.php index a4a7604..19ad24e 100755 --- a/includes/session.php +++ b/includes/session.php
@@ -81,7 +81,7 @@ function isAdmin()
81{ 81{
82 if (isLoggedIn()) 82 if (isLoggedIn())
83 { 83 {
84 $getgroup = "SELECT COUNT(*) FROM phpbb_user_group, phpbb_users WHERE phpbb_user_group.user_id = phpbb_users.user_id AND phpbb_users.username = \"" . getSessionUsername() . "\" AND phpbb_user_group.group_id = 2"; 84 $getgroup = "SELECT COUNT(*) FROM phpbb_user_group, phpbb_users WHERE phpbb_user_group.user_id = phpbb_users.user_id AND phpbb_users.username = \"" . getSessionUsername() . "\" AND phpbb_user_group.group_id = 5";
85 $getgroup2 = mysql_query($getgroup); 85 $getgroup2 = mysql_query($getgroup);
86 $getgroup3 = mysql_fetch_array($getgroup2); 86 $getgroup3 = mysql_fetch_array($getgroup2);
87 87