mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
35da0e9b46
commit
81cc214f66
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user