I figured it out, thanks though!
$params=$this->params;
On Jul 13, 12:30 pm, Smelly_Eddie <[EMAIL PROTECTED]> wrote:
> I just upgraded to 1.2 Rc2.
>
> THe only real issue I have left is the missing variable $params in
> Views.
>
> This worked in 1.1, and the API for cake 1.2 rc says it still should,
> but my views display the error,
>
> Notice (8): Undefined variable: params [APP/views/layouts/default.ctp,
> line 109]
> Notice (8): Undefined variable: params [APP/views/layouts/default.ctp,
> line 114]
>
> The only way i can get around it is by adding $this->set('params',
> $this->params); to the controllers before render function.
>
> Any suggestions for me? (appreciated)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---