fixed bug in controller filter method.

This commit is contained in:
Taylor Otwell 2011-11-09 21:57:26 -06:00
parent 9e9ee931b5
commit dcc334b617
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ protected function filter($name, $filters)
{ {
$this->filters[$name][] = new Filter_Collection($name, $filters); $this->filters[$name][] = new Filter_Collection($name, $filters);
return $this->filters[$name][count($this->filters) - 1]; return $this->filters[$name][count($this->filters[$name]) - 1];
} }
/** /**