One of my users reported that there was no "Title:" field when they were editing questions. I found in quiz_question.core.inc that the editing field for that value is omitted if !user_access('allow user titles'). But, that permission was never declared in hook_perm() (of quiz.module). Since it is described in quiz.help.inc, I figured it was meant to be declared in hook_perm() and added it. I also made it so people with "adminster quiz" permission can edit the title, whether they have the title editing permission explicitly or not.

    // Allow user to set title?
    if (user_access('allow user titles') || user_access('administer quiz')) {

Comments

falcon’s picture

Status: Needs review » Fixed

It seems to work just fine

falcon’s picture

Status: Fixed » Closed (fixed)