From bc216dae94dcd2b2e363ac85e1c0c1b1f8a32eb8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 18 Apr 2019 16:06:53 +0200 Subject: [PATCH] Fix handling of `UserInputException` during AJAX requests See 8d7da08f6f0095510c359df4dc2d433a9022cf67 --- wcfsetup/install/files/lib/action/TAJAXException.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/action/TAJAXException.class.php b/wcfsetup/install/files/lib/action/TAJAXException.class.php index 51ceddca00..e8652bff1f 100644 --- a/wcfsetup/install/files/lib/action/TAJAXException.class.php +++ b/wcfsetup/install/files/lib/action/TAJAXException.class.php @@ -72,7 +72,7 @@ trait TAJAXException { 'errorMessage' => $exception->getMessage(), 'errorType' => $e->getType(), 'file' => $e->getFile(), - 'fieldName' => $e->getFieldName(), + 'fieldName' => $exception->getFieldName(), 'line' => $e->getLine(), 'realErrorMessage' => $exception->getErrorMessage() ] -- 2.20.1