mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
update as suggested by change request
Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
This commit is contained in:
parent
a86ea735ab
commit
b786bb9752
@ -111,7 +111,7 @@ class Filters
|
||||
$this->config = $config;
|
||||
$this->request = &$request;
|
||||
$this->setResponse($response);
|
||||
if ((!is_array($this->config)) && ($this->config->discoverFilters))
|
||||
if (isset($this->config->discoverFilters) && $this->config->discoverFilters)
|
||||
{
|
||||
$this->discoverFilters();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user