Skip to content

Commit 11a10be

Browse files
committed
DeployFormsBug7530: Do not pass null values to strlen
Since PHP 8.0 passing of null to strlen is deprecated and hence must be avoided.
1 parent 2423fad commit 11a10be

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)