{"action":"opened","issue":{"url":"https://api.github.com/repos/dannyvankooten/AltoRouter/issues/129","labels_url":"https://api.github.com/repos/dannyvankooten/AltoRouter/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/dannyvankooten/AltoRouter/issues/129/comments","events_url":"https://api.github.com/repos/dannyvankooten/AltoRouter/issues/129/events","html_url":"https://github.com/dannyvankooten/AltoRouter/issues/129","id":114273187,"number":129,"title":"How To Pass 2 Parameters WIthout Having Class","user":{"login":"asisten","id":12767426,"avatar_url":"https://avatars.githubusercontent.com/u/12767426?v=3","gravatar_id":"","url":"https://api.github.com/users/asisten","html_url":"https://github.com/asisten","followers_url":"https://api.github.com/users/asisten/followers","following_url":"https://api.github.com/users/asisten/following{/other_user}","gists_url":"https://api.github.com/users/asisten/gists{/gist_id}","starred_url":"https://api.github.com/users/asisten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asisten/subscriptions","organizations_url":"https://api.github.com/users/asisten/orgs","repos_url":"https://api.github.com/users/asisten/repos","events_url":"https://api.github.com/users/asisten/events{/privacy}","received_events_url":"https://api.github.com/users/asisten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T13:48:24Z","updated_at":"2015-10-30T13:48:24Z","closed_at":null,"body":"Hello, i have successfully implementing simple one query:\r\n`$router->map( 'GET', '/login/', 'module/user/login.php', 'login');`\r\nturn into : http://mydomain/login/\r\n\r\nbut when I have 2 GET parameters it not successfully passed, error said:\r\nCatchable fatal error: Object of class Closure could not be converted \r\n\r\nmy map:\r\n`$router->map( 'GET', '/email/[*:getemail]/key/[*:getkey]/', 'module/user/activate.php', 'activate');`\r\n\r\nactivate.php:\r\n```php\r\n$email = filter_var($_GET[\"email\"], FILTER_SANITIZE_EMAIL);\r\n$key = htmlspecialchars($_GET[\"key\"]);\r\n$getemail = $match['params'][$email];\r\n$getkey = $match['params'][$key];\r\n\r\n// and more... code for validation\r\n ```"}}