DirectorDeploymentLog: allow missing config

This commit is contained in:
Thomas Gelf 2022-11-16 11:18:22 +01:00
parent 51380a9e0b
commit ef29ffd2af
1 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,11 @@ class DirectorDeploymentLog extends DbObject
public function getConfigHexChecksum()
{
return bin2hex($this->config_checksum);
$checksum = $this->get('config_checksum');
if ($checksum === null) {
return null;
}
return bin2hex($checksum);
}
public function getConfig()