Skip to content

Commit

Permalink
fix(glpiselectfield): comparison with regex
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Oct 21, 2022
1 parent ddc2c7e commit e6986b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions inc/field/glpiselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,6 @@ public function lessThan($value): bool {
return !$this->greaterThan($value) && !$this->equals($value);
}

public function regex($value): bool {
return (preg_grep($value, $this->value)) ? true : false;
}

public function isAnonymousFormCompatible(): bool {
return false;
}
Expand Down

0 comments on commit e6986b0

Please sign in to comment.