Project

General

Profile

« Previous | Next » 

Revision 650

Added by thorn almost 17 years ago

admin/pages: the parent dropdown-list showed foreign private pages, too. Fixed.

View differences:

index.php
490 490
	$query = "SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' AND visibility!='deleted' ORDER BY position ASC";
491 491
	$get_pages = $database->query($query);
492 492
	while($page = $get_pages->fetchRow()) {
493
		if($admin->page_is_visible($page)==false)
494
			continue;
493 495
		// Stop users from adding pages with a level of more than the set page level limit
494 496
		if($page['level']+1 < PAGE_LEVEL_LIMIT) {
495 497
			// Get user perms

Also available in: Unified diff