From: Matthias Schmidt Date: Sun, 28 Apr 2019 11:47:12 +0000 (+0200) Subject: Fix making `isPublic` poll field unavailable during edits X-Git-Tag: 5.2.0_Alpha_1~114 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3d94025998a717e3eb50123729153eee1f830a5;p=GitHub%2FWoltLab%2FWCF.git Fix making `isPublic` poll field unavailable during edits See #2852 --- diff --git a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygPollFormContainer.class.php b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygPollFormContainer.class.php index b1695cd3ab..4e56278f56 100644 --- a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygPollFormContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygPollFormContainer.class.php @@ -234,7 +234,7 @@ class WysiwygPollFormContainer extends FormContainer implements IObjectTypeFormN } else { // `isPublic` cannot be changed when editing polls - $this->getIsPublicField()->isAvailable(false); + $this->getIsPublicField()->available(false); } $this->getQuestionField()->value($this->poll->question);