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

on 07.04.11 reported by: agborkowski owned by: daschl

Updates

(duplicate) on 07.05.11 by daschl
  • owner was changed to daschl
  • status was changed to closed
  • resolution was changed to duplicate
agborkowski told me i can close this because he's reposted it on github (manual).