Ticket Details
Undefined variable: request
BUG Ticket (closed)
###What happened:
- eg. from @link http://lithify.me/docs/manual/02_lithium_basics/02_filters.wiki
{{{
/.../
if (isset($ctrl->publicActions) && in_array($params['action'], $ctrl->publicActions)) {
return $ctrl;
}
return function() use ($request) {
^^^^^^^^^
return new Response(compact('request') + array('location' => '/users/login'));
};
/.../
}}}
-( ! ) Notice: Undefined variable: request in /home/agborkowski/Sites/holicon/pwi2/app/config/bootstrap/auth.php on line 32
###What was expected:
- working example
Updates
(duplicate)
on 07.05.11
by daschl
- owner was changed to daschl
- status was changed to closed
- resolution was changed to duplicate