Closed jacobbaungard closed 3 years ago
Move the assignment of the hst variable before the if statement, to ensure the if statement doesn't always return false.
This fixes an issue causing the contacts column on the host table to always be empty.
Also add a test case for sanity checking.
Signed-off-by: Jacob Hansen jhansen@op5.com
my bad, and thanks for adding the test case :-)
Move the assignment of the hst variable before the if statement, to ensure the if statement doesn't always return false.
This fixes an issue causing the contacts column on the host table to always be empty.
Also add a test case for sanity checking.
Signed-off-by: Jacob Hansen jhansen@op5.com