Project

General

Profile

« Previous | Next » 

Revision 1305

Added by Luisehahne almost 15 years ago

Ticket #957 Wrong status returned for visibility

View differences:

settings.php
129 129
	$template->set_var('REGISTERED_SELECTED', ' selected="selected"');
130 130
} elseif($results_array['visibility'] == 'hidden') {
131 131
	$template->set_var('HIDDEN_SELECTED', ' selected="selected"');
132
} elseif($results_array['visibility'] == 'display:none;') {
132
} elseif($results_array['visibility'] == 'none') {
133 133
	$template->set_var('NO_VIS_SELECTED', ' selected="selected"');
134 134
}
135 135
// Group list 1 (admin_groups)
......
277 277

  
278 278
		while($page = $get_pages->fetchRow())
279 279
        {
280
			if($admin->page_is_visible($page)==false) { continue; }
280
			if(($admin->page_is_visible($page)==false) && ($page['visibility'] <> 'none') ) { continue; }
281 281

  
282 282
			$template->set_var('FLAG_CODE_ICON',' none ');
283 283
			if( $page['parent'] == 0 )

Also available in: Unified diff