On 22/06/15 08:21, Alan Lord wrote: > > If I replace the constant ISMSProvider::MSG_STATUS_FAILED with the > string 'Failed' - which is what it actually is, then the code works just > fine. This my helper function: http://paste.ubuntu.com/11755437/ Is there something I am doing wrong in here that is causing the problem? Al