From: Daniel Rudolf Date: Wed, 30 Jan 2013 18:01:53 +0000 (+0100) Subject: AJAXInvokeAction: Fixing exception variable name X-Git-Tag: 2.0.0_Beta_1~525^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a45ee33b58d4dacdb6163a8712185acee6f6203d;p=GitHub%2FWoltLab%2FWCF.git AJAXInvokeAction: Fixing exception variable name --- 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 {