mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
Sync: quote binary checksums for PostgreSQL
This commit is contained in:
parent
f37671c2c0
commit
b07a3e724c
@ -697,10 +697,10 @@ class Sync
|
||||
|
||||
if ($created + $deleted + $modified > 0) {
|
||||
// TODO: What if this has been the very first activity?
|
||||
$runProperties['last_former_activity'] = $formerActivityChecksum;
|
||||
$runProperties['last_related_activity'] = Util::hex2binary(
|
||||
$runProperties['last_former_activity'] = $db->quoteBinary($formerActivityChecksum);
|
||||
$runProperties['last_related_activity'] = $db->quoteBinary(Util::hex2binary(
|
||||
$db->getLastActivityChecksum()
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
$this->run->setProperties($runProperties)->store();
|
||||
|
Loading…
x
Reference in New Issue
Block a user