Browse Source

* Moderators are not available for forum-link.

Visman 6 years ago
parent
commit
2af5aede78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pages/Profile/Mod.php

+ 1 - 1
app/Models/Pages/Profile/Mod.php

@@ -132,7 +132,7 @@ class Mod extends Profile
                     'type'     => 'checkbox',
                     'value'    => $forum->id,
                     'checked'  => isset($this->curForums[$forum->id]) && $this->curUser->isModerator($forum),
-                    'disabled' => ! isset($this->curForums[$forum->id]),
+                    'disabled' => ! isset($this->curForums[$forum->id]) || '' != $this->curForums[$forum->id]->redirect_url,
                     'caption'  => \ForkBB\__('Moderator label'),
                 ];
                 $form['sets']["forum{$forum->id}"] = [