We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd95482 commit 422c2abCopy full SHA for 422c2ab
CHANGES.md
@@ -4,6 +4,10 @@ moodle-local_profilecohort
4
Changes
5
-------
6
7
+### Unreleased
8
+
9
+* 2025-10-31 - Improvement: Get rid of a deprecation warning on PHP 8.2 and upwards, resolves #66
10
11
### v4.5-r2
12
13
* 2025-10-15 - Make codechecker happy again
classes/field_text.php
@@ -86,7 +86,7 @@ protected function __construct($ruledata = null) {
86
*/
87
protected function matches_internal($value) {
88
$value = strtolower(trim(strip_tags($value)));
89
- $matchvalue = strtolower(trim($this->matchvalue));
+ $matchvalue = strtolower(trim($this->matchvalue ?? ''));
90
switch ($this->matchtype) {
91
case self::MATCH_NOTEXACT:
92
return ($value != $matchvalue);
0 commit comments