fixed bug in controller filter method.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user