Project

General

Profile

« Previous | Next » 

Revision 115

Added by stefan about 19 years ago

Fixed ticket #19 (addon link not shown). Corrected breadcrumbs code.

View differences:

get_permissions.php
40 40
		$system_permissions['media_rename'] = $system_permissions['media'];
41 41
		$system_permissions['media_delete'] = $system_permissions['media'];
42 42
		$system_permissions['media_create'] = $system_permissions['media'];
43
	if($admin->get_post('modules') != '' AND $admin->get_post('templates') != '' AND $admin->get_post('languages') != '') {
43
	if($admin->get_post('modules') != '' OR $admin->get_post('templates') != '' OR $admin->get_post('languages') != '') {
44 44
		$system_permissions['addons'] = 1;
45 45
	} else {
46 46
		$system_permissions['addons'] = 0;

Also available in: Unified diff