Fixes pools_alert_utils.lua:112: bad argument #1 to 'for iterator'

This commit is contained in:
Simone Mainardi 2020-09-16 18:26:39 +02:00
parent 33bd6bb1c9
commit 0bbcc12edb
2 changed files with 3 additions and 0 deletions

View file

@ -317,6 +317,8 @@ function host_pools:get_pool(pool_id, recipient_details)
if recipient and recipient.recipient_name then
res["recipient_name"] = recipient.recipient_name
res["recipient_user_script_categories"] = recipient.user_script_categories
res["recipient_minimum_severity"] = recipient.minimum_severity
end
end