AJAXInvokeAction: Fixing exception variable name
authorDaniel Rudolf <rudolf@eifel-online.com>
Wed, 30 Jan 2013 18:01:53 +0000 (19:01 +0100)
committerDaniel Rudolf <rudolf@eifel-online.com>
Wed, 30 Jan 2013 18:01:53 +0000 (19:01 +0100)
wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php

index c27c6c1688934d37b94ddea52473d40b40173054..c58ea24b0f093ec79d4d3c4d28c8ea6c0755e08d 100644 (file)
@@ -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 {