mirror of https://github.com/Icinga/icinga2.git
parent
6f8e25a349
commit
339c0b6d84
|
@ -560,6 +560,10 @@ bool IdoPgsqlConnection::FieldToEscapedString(const String& key, const Value& va
|
||||||
*result = static_cast<long>(m_InstanceID);
|
*result = static_cast<long>(m_InstanceID);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (key == "session_token") {
|
||||||
|
*result = "'" + Escape(m_SessionToken) + "'";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (key == "notification_id") {
|
if (key == "notification_id") {
|
||||||
*result = static_cast<long>(GetNotificationInsertID(value));
|
*result = static_cast<long>(GetNotificationInsertID(value));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue