Something that i have just noticed today is when a pilot is retired he gets the email saying he is retired but in the subject it says SITE_NAME instead of the va name, im presuming that a php tag is missing there in the code, which file is that please?
Hmpfh… I am not sure, maybe it has something to do with it being loaded out of the bootstrap, possibly before the site settings have been loaded.. I will look at it some more and see what the order is.