diff options
author | Andrey Andreev <narf@devilix.net> | 2014-11-04 18:22:38 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-11-04 18:22:38 +0100 |
commit | a0471dcceb0a46ed50c2498bd8d630fb0e306064 (patch) | |
tree | 7679b234decbf09e836494e34527a21147c96c11 /system/libraries/Driver.php | |
parent | 5289f27c07bfb1d961317de351c4819f25dd5f2e (diff) |
Fix #3310
Regression caused by 4b838af40d77684539dd40461bd92e6e453fe675
Quite possibly related to #3308
Diffstat (limited to 'system/libraries/Driver.php')
-rw-r--r-- | system/libraries/Driver.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index 6a51c22ef..fb3d8cd03 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php @@ -299,8 +299,7 @@ class CI_Driver { return call_user_func_array(array($this->_parent, $method), $args); } - $trace = debug_backtrace(); - _exception_handler(E_ERROR, "No such method '{$method}'", $trace[1]['file'], $trace[1]['line']); + throw new BadMethodCallException('No such method: '.$method.'()'); exit(6); // EXIT_UNKNOWN_METHOD } |