Site ID is missing - from collections report / sl_eob_invoice

I consistently get “Site ID is missing from session data” after I view a single invoice from the “Collection Report” results.

Every time.

I’m not familiar with how the session is maintained so I’m not sure how to go about debugging the issue. Any pointers would be greatly appreciated.

Thanks,
Kyle

Actually I think I resolved it with the addition of a top.restoreSession() call…
Seems to be working now.

Great! What file did you modify?

I added it to the validate call of sl_eob_invoice.php

I’m not sure how this fixed things to be honest as I thought this was only called on a “submit” and this seems to fix the problem without clicking any buttons (i.e. I can load multiple invoices now without touching them where I couldn’t do that before).