Not saving all data in cakephp
- by madphp
Hi,
Im doing a simple save, and its not entering all the data. I have two models, message and emailmessage. The message table is getting populated ok, but the emailmessage table, is only getting the foreign key message_id. Below is the code. Anyone notice anything unsual?
EmailMessageModel - http://pastebin.com/tjNewnBw
MessageModel - http://pastebin.com/57FSgAGZ
EmailMessageController - http://pastebin.com/AD0wNawx
Data - http://pastebin.com/8bzknwpu
Thanks
--Mark