mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
move queries in repository
This commit is contained in:
@@ -166,7 +166,7 @@ class PickEventType extends AbstractType
|
||||
*/
|
||||
protected function filterCenters(Options $options)
|
||||
{
|
||||
|
||||
// option role
|
||||
if ($options['role'] === NULL) {
|
||||
$centers = array_map(
|
||||
function (GroupCenter $g) {
|
||||
@@ -181,6 +181,7 @@ class PickEventType extends AbstractType
|
||||
);
|
||||
}
|
||||
|
||||
// option center
|
||||
if ($options['centers'] === NULL)
|
||||
{
|
||||
// we select all selected centers
|
||||
|
Reference in New Issue
Block a user