N°7213 - PHP 8.1: Migrate remaining usages of md5() with null value (#608)

* N°7213 - PHP 8.1: Migrate remaining usages of md5() with null value

* Update core/attributedef.class.inc.php
This commit is contained in:
Molkobain
2024-02-14 19:27:14 +01:00
committed by GitHub
parent e4f068a518
commit 922a842e96
2 changed files with 2 additions and 2 deletions

View File

@@ -343,6 +343,6 @@ class ormDocument
*/
public function GetSignature(): string
{
return md5($this->GetData());
return md5($this->GetData() ?? '');
}
}