I am working on a function to my application to track email opens. when calling the following http://localhost/myapp/recipients/open_track/104/22 from the browser the save works properly.
The second call of the same url the script checks if a record with the user_id and campaign_id already exists. Simple! I have tried several versions of the check and each time the strange behavior. The second call the save happens but without the campaign_id field. Using debug and echo all fields are there and the if statement seems to work but still the second save. Oddly on a third call there is no save. If I delete the second save it will save again. probably something simple? http://bin.cakephp.org/view/2070487233 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
