fixed bug in controller filter method.
This commit is contained in:
parent
9e9ee931b5
commit
dcc334b617
|
@ -169,7 +169,7 @@ protected function filter($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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue