Skip to content

Commit d0c03b8

Browse files
authored
DeployFormsBug7530: Do not pass null values to strlen (#2977)
Since PHP 8.0 passing of null to strlen is deprecated and hence must be avoided.
2 parents 2423fad + 11a10be commit d0c03b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/forms/DeployFormsBug7530.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function hasBeenSubmitted()
1313
if (parent::hasBeenSubmitted()) {
1414
return true;
1515
} else {
16-
return \strlen($this->getSentValue('confirm_7530')) > 0;
16+
return strlen($this->getSentValue('confirm_7530', '')) > 0;
1717
}
1818
}
1919

0 commit comments

Comments
 (0)