DeployFormsBug7530: Do not pass null values to strlen

Since PHP 8.0 passing of null to strlen is deprecated and hence must be avoided.
This commit is contained in:
raviks789 2025-04-23 15:55:31 +02:00
parent 2423fad54c
commit 11a10be9f8
No known key found for this signature in database

View File

@ -13,7 +13,7 @@ trait DeployFormsBug7530
if (parent::hasBeenSubmitted()) {
return true;
} else {
return \strlen($this->getSentValue('confirm_7530')) > 0;
return strlen($this->getSentValue('confirm_7530', '')) > 0;
}
}