BUGFIX SSF-124 remove one of the duplicated 'Any' options which also cause that search on the second 'Any' broke.

This commit is contained in:
Normann Lou 2012-04-11 17:43:46 +12:00
parent 35da0e9b46
commit 81cc214f66

View File

@ -159,7 +159,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
function SearchForm() {
// get all page types in a dropdown-compatible format
$pageTypes = SiteTree::page_type_classes();
array_unshift($pageTypes, _t('CMSMain.PAGETYPEANYOPT','Any'));
$pageTypes = array_combine($pageTypes, $pageTypes);
asort($pageTypes);