diff --git a/json.php b/json.php index 3ae33cc8a2..8e727118a2 100644 --- a/json.php +++ b/json.php @@ -31,9 +31,9 @@ function login_redirect(&$anon_account) * * Does NOT return! * - * @param Exception $e + * @param Exception|Error $e */ -function ajax_exception_handler(Exception $e) +function ajax_exception_handler($e) { // handle redirects without logging if (is_a($e, 'egw_exception_redirect'))