From 3ba1c531882d31506cc4906ebe9181da98b0ee0d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 19 Aug 2020 18:38:35 +0200 Subject: [PATCH] Add missing word in exception message See 709b412bf72084e48d408787d8455f9876fcdaed --- .../builder/container/wysiwyg/WysiwygFormContainer.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php index aa097ca3eb..2ad7b5d341 100644 --- a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php @@ -225,7 +225,7 @@ class WysiwygFormContainer extends FormContainer { */ public function enablePreviewButton($enablePreviewButton = true) { if ($this->isPopulated) { - throw new \BadMethodCallException('Enabling and disabling the preview button is only possible the form has been built.'); + throw new \BadMethodCallException('Enabling and disabling the preview button is only possible before the form has been built.'); } $this->enablePreviewButton = $enablePreviewButton; -- 2.20.1