From a45ee33b58d4dacdb6163a8712185acee6f6203d Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 30 Jan 2013 19:01:53 +0100 Subject: [PATCH] AJAXInvokeAction: Fixing exception variable name --- .../install/files/lib/action/AJAXInvokeAction.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php index c27c6c1688..c58ea24b0f 100644 --- a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php @@ -163,9 +163,9 @@ class AJAXInvokeAction extends AbstractSecureAction { )); } else if ($e instanceof ValidateActionException) { - throw new AJAXException($exception->getMessage(), AJAXException::BAD_PARAMETERS, $e->getTraceAsString(), array( - 'errorMessage' => $exception->getMessage(), - 'fieldName' => $exception->getFieldName() + throw new AJAXException($e->getMessage(), AJAXException::BAD_PARAMETERS, $e->getTraceAsString(), array( + 'errorMessage' => $e->getMessage(), + 'fieldName' => $e->getFieldName() )); } else { -- 2.20.1