DirectorDeploymentLog: allow missing config
This commit is contained in:
parent
51380a9e0b
commit
ef29ffd2af
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue