Hello !
Could you please tell me, did you have the code written for you from scratch or is it some open source based on cakephp? Has this bug started occuring recently, or has it been like this before, from the beginning of you using the app ?
Regards,
Dragos