fix bug in controller filters.

This commit is contained in:
Taylor Otwell
2012-01-18 09:44:12 -06:00
parent d8597e2095
commit d95c371867

View File

@@ -302,7 +302,7 @@ class Filter_Collection {
*/
public function on($methods)
{
$method = array_map('strtolower', (array) $methods);
$this->methods = array_map('strtolower', (array) $methods);
return $this;
}