diff --git a/lib/ido/dbobject.cpp b/lib/ido/dbobject.cpp index 3802f0094..d8b3a9ca4 100644 --- a/lib/ido/dbobject.cpp +++ b/lib/ido/dbobject.cpp @@ -112,6 +112,7 @@ void DbObject::SendStatusUpdate(void) query.Fields->Set("status_update_time", DbValue::FromTimestamp(Utility::GetTime())); query.WhereCriteria = boost::make_shared(); query.WhereCriteria->Set(GetType()->GetIDColumn(), GetObject()); + query.Object = GetSelf(); OnQuery(query); m_LastStatusUpdate = Utility::GetTime();