Skip to content

Commit

Permalink
Fix rowid for 'other' families
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Nov 14, 2024
1 parent 341c85f commit 56ed96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OtherAlertableEntity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 56ed96e

Please sign in to comment.