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

View File

@@ -169,7 +169,7 @@ abstract class Controller {
{
$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];
}
/**