Project

General

Profile

« Previous | Next » 

Revision 978

Added by Matthias over 15 years ago

Fixed bug with missing option for admin-tools in advanced view of access settings (ticket #714)

View differences:

get_permissions.php
77 77
	$system_permissions['groups_modify'] = $system_permissions['groups'];
78 78
	$system_permissions['groups_delete'] = $system_permissions['groups'];
79 79
	$system_permissions['admintools'] = $admin->get_post('admintools');
80
	$system_permissions['admintools_settings'] = $system_permissions['admintools'];
80 81
} else {
81 82
	// Pages
82 83
	$system_permissions['pages_view'] = $admin->get_post('pages_view');
......
133 134
		} else {
134 135
			$system_permissions['languages'] = '';
135 136
		}
137
		// Admintools
138
		$system_permissions['admintools_settings'] = $admin->get_post('admintools_settings');
139
		if($system_permissions['admintools_settings'] == 1) {
140
			$system_permissions['admintools'] = 1;
141
		} else {
142
			$system_permissions['admintools'] = '';
143
		}
136 144
	if($system_permissions['modules'] == 1 OR $system_permissions['templates'] == 1 OR $system_permissions['languages'] == 1) {
137 145
		$system_permissions['addons'] = 1;
138 146
	} else {

Also available in: Unified diff