Skip to content

Commit

Permalink
User: Fix Buttons Shown When No Form
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Sep 18, 2023
1 parent 670a94b commit 56b2f45
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public function showPrivacySettings(
$lng = $this->lng;

$html = "";
if ($this->checklist_status->anyVisibilitySettings()) {
if ($this->checklist_status->anyVisibilitySettings()
&& ($this->isAwarnessSettingVisible()
|| $this->isContactSettingVisible()
|| $this->shouldDisplayChatSection())) {
if (is_null($form)) {
$form = $this->initPrivacySettingsForm();
}
Expand Down

0 comments on commit 56b2f45

Please sign in to comment.