summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/error.php b/inc/error.php
index da707911..1f66b977 100644
--- a/inc/error.php
+++ b/inc/error.php
@@ -8,7 +8,7 @@ function error_handler($errno,$errstr,$errfile, $errline, $errcontext){
return false;
}
-function exception_handler(Exception $e){
+function exception_handler($e){
error($e->getMessage());
}