Hello.
I have the following code in my controller called "comments_controller":
if ($this->Comment->delete($id)) {
...
}
At localhost everything works as expected: the table row with the provided
ID gets removed and the "if" statement gets executed.
But as soon as I move my code to the server, the if statement doesn't get
executed, but the row gets deleted from the table.
I don't know what could be causing this and I don't know the best way to
debug this.
Any help is greatly appreciated.
Thank you.
--
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