canUsePoll() in threadAdd und postAdd, postEdit ohne BoardBerechtigungen

  • Affected App
    WoltLab Suite Forum

    die Methode threadAddForm->canUsePoll() und andere fragen die spezifischen Forumseinstellungen nicht ab:

    Code
    protected function canUsePoll() {
            if (!MODULE_POLL || !WCF::getSession()->getPermission('user.board.canStartPoll')) {
                return false;
            }
            return true;
        }

    Der Kopf ist rund, damit das Denken die Richtung wechseln kann (Francis Picabia)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!