From 3938a1b05ef1d9a3aa1e8ce0ec8fa408441ad40d Mon Sep 17 00:00:00 2001 From: Oleg Topchiy Date: Fri, 24 Jul 2026 12:08:48 +0200 Subject: [PATCH] Fix null array offset deprecation on PHP 8.5 in Select::getRawValue() --- HTML/QuickForm2/Element/Select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTML/QuickForm2/Element/Select.php b/HTML/QuickForm2/Element/Select.php index 5a2ee07..c18a519 100644 --- a/HTML/QuickForm2/Element/Select.php +++ b/HTML/QuickForm2/Element/Select.php @@ -180,7 +180,7 @@ public function getRawValue() $values = []; foreach ($this->values as $value) { - if (!$this->data['intrinsic_validation'] || !empty($this->possibleValues[$value])) { + if (!$this->data['intrinsic_validation'] || !empty($this->possibleValues[(string) $value])) { $values[] = $value; } }