Skip to content

Commit e6986b0

Browse files
committed
fix(glpiselectfield): comparison with regex
1 parent ddc2c7e commit e6986b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

inc/field/glpiselectfield.class.php

-4
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ public function lessThan($value): bool {
243243
return !$this->greaterThan($value) && !$this->equals($value);
244244
}
245245

246-
public function regex($value): bool {
247-
return (preg_grep($value, $this->value)) ? true : false;
248-
}
249-
250246
public function isAnonymousFormCompatible(): bool {
251247
return false;
252248
}

0 commit comments

Comments
 (0)