> Should be:
>
> uses('Sanitize');
> $this->data = Sanitize::cleanArray($this->data);
Changed that, but get a fatal error:
Fatal error: Call to undefined function: cleanarrayr()
I looked at sanitize.php and the cleanArrayR(); function is present.
On 13 mrt, 13:26, "Mariano Iglesias" <[EMAIL PROTECTED]>
wrote:
> This:
>
> $this->Sanitize->cleanArray($this->data);
>
> Should be:
>
> uses('Sanitize');
> $this->data = Sanitize::cleanArray($this->data);
>
> -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 08:36 a.m.
> Para: Cake PHP
> Asunto: Re: email form
>
> I'm using Mariano's email form code as well, and updated it to work
> with 1.2, but it still throws errors over this line:
>
> $this->Sanitize->cleanArray($this->data);
>
> error: "Call to a member-function on a non-object"
>
> Any idea what could be the problem? Maybe I use the wrong email-
> component?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---