If you are using CakePHP 1.2 then change this:
$this->data = Sanitize::cleanArray($this->data);
To this:
$this->data = Sanitize::clean($this->data);
But if you are using CakePHP 1.1 you're telling me that this:
$this->data = Sanitize::cleanArray($this->data);
Tells you there's no such thing as cleanArray??? What is wrong with the
world? :)
If so, can you double check everything by doing:
uses('Sanitize');
$sanitize = new Sanitize();
pr($sanitize); exit;
On your controller?
-MI
---------------------------------------------------------------------------
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de gerbenzomp
Enviado el: Martes, 13 de Marzo de 2007 02:10 p.m.
Para: Cake PHP
Asunto: Re: email form
This is the controller code as I have it:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---