From 56ed96e55095068e400333b1e85fdb7e6af66889 Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Thu, 14 Nov 2024 14:40:14 +0100 Subject: [PATCH] Fix rowid for 'other' families --- src/OtherAlertableEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OtherAlertableEntity.cpp b/src/OtherAlertableEntity.cpp index d35cf6b1661f..1d84c1d8b97b 100644 --- a/src/OtherAlertableEntity.cpp +++ b/src/OtherAlertableEntity.cpp @@ -37,7 +37,7 @@ OtherAlertableEntity::~OtherAlertableEntity() {} void OtherAlertableEntity::luaAlert(lua_State *vm, const Alert *alert, ScriptPeriodicity p) const { - lua_push_int64_table_entry(vm, "rowid", alert->alert_id); + lua_push_int64_table_entry(vm, "rowid", alert->rowid); lua_push_int32_table_entry(vm, "alert_id", alert->alert_id); lua_push_str_table_entry(vm, "subtype", alert->subtype.c_str()); lua_push_int32_table_entry(vm, "entity_id", getEntityType());