@@ -91,7 +91,9 @@ |
||
| 91 | 91 | $id = $groups[$i]->getVar('groupid'); |
| 92 | 92 | $name=$groups[$i]->getVar('name'); |
| 93 | 93 | //Skip anonymous group |
| 94 | -if ($id==3) continue; |
|
| 94 | +if ($id==3) { |
|
| 95 | + continue; |
|
| 96 | +} |
|
| 95 | 97 | |
| 96 | 98 | |
| 97 | 99 | //check if user has permission to change this group |
@@ -20,6 +20,6 @@ |
||
| 20 | 20 | |
| 21 | 21 | if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ |
| 22 | 22 | include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); |
| 23 | - }else{ |
|
| 23 | + } else{ |
|
| 24 | 24 | redirect_header("../../../admin.php", 5, _AM_GROUPS_MODULEADMIN_MISSING, false); |
| 25 | 25 | } |
| 26 | 26 | \ No newline at end of file |