mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX SSF-124 remove Notice level message
This commit is contained in:
parent
50e50f712a
commit
8f5ec545ae
@ -529,12 +529,12 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
$request = $this->request;
|
$request = $this->request;
|
||||||
$filter = null;
|
$filter = null;
|
||||||
|
$ids = array();
|
||||||
if($filterClass = $request->requestVar('FilterClass')){
|
if($filterClass = $request->requestVar('FilterClass')){
|
||||||
if(!is_subclass_of($filterClass, 'CMSSiteTreeFilter')) {
|
if(!is_subclass_of($filterClass, 'CMSSiteTreeFilter')) {
|
||||||
throw new Exception(sprintf('Invalid filter class passed: %s', $filterClass));
|
throw new Exception(sprintf('Invalid filter class passed: %s', $filterClass));
|
||||||
}
|
}
|
||||||
$filter = new $filterClass($request->requestVars());
|
$filter = new $filterClass($request->requestVars());
|
||||||
$ids = array();
|
|
||||||
foreach($pages=$filter->pagesIncluded() as $pageMap){
|
foreach($pages=$filter->pagesIncluded() as $pageMap){
|
||||||
$ids[] = $pageMap['ID'];
|
$ids[] = $pageMap['ID'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user