I just found out that CakePHP saving twice when I have warnings (as I
saw it in debug.log)
E.g. I have $this->Model->save() in my controller

And I have this in my default.ctp template:
<script type="text/javascript" src="<?=BASE_PATH ?>js/
jquery-1.3.2.min.js"></script>

I think CakePHP is going through the controller action again when a
warning caused by the above is present.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to