Commit dcc334b6 by Taylor Otwell

fixed bug in controller filter method.

parent 9e9ee931
......@@ -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];
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment