aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin.php b/admin.php
index 22bb2d28a..6a0ad7091 100644
--- a/admin.php
+++ b/admin.php
@@ -50,21 +50,21 @@ switch ( $_GET['page'] )
case 'group_list' :
$title = $lang['title_groups']; $page_valide = true; break;
case 'group_perm' :
- if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1;
+ /*if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1;
$query = 'SELECT name FROM '.GROUPS_TABLE;
$query.= ' WHERE id = '.$_GET['group_id'];
$query.= ';';
$result = pwg_query( $query );
if ( mysql_num_rows( $result ) > 0 )
{
- $row = mysql_fetch_array( $result );
- $title = $lang['title_group_perm'].' "'.$row['name'].'"';
+ $row = mysql_fetch_array( $result );*/
+ $title = $lang['title_group_perm'];//.' "'.$row['name'].'"';
$page_valide = true;
- }
+ /*}
else
{
$page_valide = false;
- }
+ }*/
break;
case 'stats':
$title = $lang['title_history']; $page_valide = true; break;