diff --git a/classes/controller.php b/classes/controller.php index 7977efc9..31d42d8a 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -437,8 +437,8 @@ class AdminController // Filter by page type if (count($flags)) { - $type = $flags[0]; - $collection = $collection->ofType($type); + $types = $flags; + $collection = $collection->ofOneOfTheseTypes($types); } }