summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2021-02-04 16:33:45 +0100
committerAndrey Andreev <narf@devilix.net>2021-02-04 16:33:45 +0100
commitfda124cfd788a9a70cd8608648513271fb859cd9 (patch)
tree9238013889c335d0df76d8bf96ebddebb5d26ae0 /system/core
parent3a6259b85f397c05f312f4124f90cfa534df576a (diff)
parent0925b5099919300a239909588351a6482c5e792d (diff)
Merge branch '3.1-stable' into develop
Diffstat (limited to 'system/core')
-rw-r--r--system/core/CodeIgniter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 1f626729a..704539ef4 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -383,7 +383,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* ReflectionMethod::isConstructor() is the ONLY reliable check,
* knowing which method will be executed as a constructor.
*/
- elseif ( ! is_callable(array($class, $method)))
+ else
{
$reflection = new ReflectionMethod($class, $method);
if ( ! $reflection->isPublic() OR $reflection->isConstructor())