Project

General

Profile

« Previous | Next » 

Revision 825

Added by thorn over 16 years ago

fixed issue with multigroups (level 0 page-creation)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14
14-Apr-2008 Thomas Hornik
15
#	fixed issue with multigroups (level 0 page-creation)
14 16
13-Apr-2008 Thomas Hornik
15 17
!	ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string.
16 18
#	fixed language-files
trunk/wb/admin/pages/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