Revision 825
Added by thorn over 16 years ago
add.php | ||
---|---|---|
42 | 42 |
|
43 | 43 |
// add Admin to admin and viewing-groups |
44 | 44 |
$admin_groups[] = 1; |
45 |
if($visibility == 'private' || $visibility == 'registered') { |
|
46 |
$viewing_groups[] = 1; |
|
47 |
} else { |
|
48 |
$viewing_groups = array(1); |
|
49 |
} |
|
45 |
$viewing_groups[] = 1; |
|
50 | 46 |
|
51 | 47 |
if ($parent!=0) { |
52 | 48 |
if (!$admin->get_page_permission($parent,'admin')) |
Also available in: Unified diff
fixed issue with multigroups (level 0 page-creation)