Skip to content

Commit

Permalink
Missing Controller use on Constraint_remote
Browse files Browse the repository at this point in the history
The `Constraint_remote::validate()` method uses `Controller::curr()` but it is not imported at the top.
  • Loading branch information
Marco Hermo authored Oct 29, 2021
1 parent 5f3f873 commit 5519ae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/ZenValidatorConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use SilverStripe\View\Requirements;
use SilverStripe\i18n\i18n;
use SilverStripe\Forms\CheckboxSetField;
use SilverStripe\Control\Controller;
use SilverStripe\Control\Director;

/**
Expand Down

0 comments on commit 5519ae1

Please sign in to comment.