From: Matthias Schmidt Date: Thu, 18 Apr 2019 14:06:53 +0000 (+0200) Subject: Fix handling of `UserInputException` during AJAX requests X-Git-Tag: 5.2.0_Alpha_1~130 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc216dae94dcd2b2e363ac85e1c0c1b1f8a32eb8;p=GitHub%2FWoltLab%2FWCF.git Fix handling of `UserInputException` during AJAX requests See 8d7da08f6f0095510c359df4dc2d433a9022cf67 --- 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() ]