diff --git a/composer.json b/composer.json index 133be84..81b009a 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,9 @@ ], "license": "BSD-3-Clause", "require": { - "silverstripe/framework": "^4.0", - "silverstripe/admin": "^1.0", - "silverstripe/taxonomy": "^2.0" + "silverstripe/framework": "^4.0 || ^5.0", + "silverstripe/admin": "^1.0 || ^2.0", + "silverstripe/taxonomy": "^2.0 || ^3.0 || ^4.0" }, "require-dev": { "phpunit/phpunit": "^5.7", diff --git a/src/Model/Question.php b/src/Model/Question.php index 19565fd..2299920 100644 --- a/src/Model/Question.php +++ b/src/Model/Question.php @@ -189,7 +189,7 @@ public function getCMSFields() if ($flowField) { // Restrict the range to only Flows for this question's Pathfinder $flowField - ->setSource($this->Pathfinder()->Flows()->map()) + ->setSource($this->Pathfinder()->Flows()) ->setEmptyString('Use default Flow'); }