Project

General

Profile

« Previous | Next » 

Revision 1042

Added by aldus almost 15 years ago

Bugfix inside get_permissions.php - replacing worng "and" with "or" in line 64 (see also 178) for "user" and "groups" - so a user can e.g. edit other users, but no groups - vice versa; not both or none.

View differences:

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

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
08-July-2009 Dietrich Roland Pehlke
15
#	Bugfix inside wb/admin/groups/get_permissions.php - replacing wrong "AND" within "OR" in line 64
16
	if one checkbox of "user" or "group" is selected (like in line 178; advanced settings).
14 17
07-July-2009 Matthias Gallas
15 18
#	Fixed some minor bugs in argos_theme (Thanks to Argos)
16 19
#	Fixed bugs in admin additons for argos_theme (Thanks to Argos)
trunk/wb/admin/groups/get_permissions.php
61 61
	$system_permissions['settings'] = $admin->get_post('settings');
62 62
		$system_permissions['settings_basic'] = $system_permissions['settings'];
63 63
		$system_permissions['settings_advanced'] = $system_permissions['settings'];
64
	if($admin->get_post('users') != '' AND $admin->get_post('groups') != '') {
64
	if($admin->get_post('users') != '' OR $admin->get_post('groups') != '') {
65 65
		$system_permissions['access'] = 1;
66 66
	} else {
67 67
		$system_permissions['access'] = 0;

Also available in: Unified diff