Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3162

The index view logic is problematic, hiddening valid questionnaires and allowing view of templates.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.11, 1.9.12, 2.0, 2.0.1, 2.0.2, 2.0.3
    • 1.9.12, 2.0, 2.1
    • Module: Questionnaire
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE

    Description

      In the file: index.php
      line 47 is as follows(in 1.9.x code, and similarly on 2.x):
      $realm = get_field('questionnaire_survey', 'realm', 'id', $questionnaire->id);
      which causes this problems, since it should be:
      $realm = get_field('questionnaire_survey', 'realm', 'id', $questionnaire->sid);

      best regards
      --dhg<at>atarplpl.co.il

      Attachments

        Activity

          People

            rezeau Joseph Rézeau
            dhg David Hai Gootvilig
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10