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

radiobutton other clause is broken.

    XMLWordPrintable

Details

    • Hide

      patch as:
      diff /mod/questionnaire/locallib.php questionnaire/locallib.php
      1107c1107
      < $pos = strpos($resp, 'other=');

      > $pos = strpos($resp, 'other_');
      1124c1124
      < $pos = strpos($resp, 'other=');

      > $pos = strpos($resp, 'other_');
      3067c3067

      Show
      patch as: diff /mod/questionnaire/locallib.php questionnaire/locallib.php 1107c1107 < $pos = strpos($resp, 'other='); — > $pos = strpos($resp, 'other_'); 1124c1124 < $pos = strpos($resp, 'other='); — > $pos = strpos($resp, 'other_'); 3067c3067
    • MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE

    Description

      checkbox in questionaire on moodle 2

      If other and all are ticked, to many entries.
      If other only then error. Think is typo as below. seems to work with these patches.

      diff mod/questionnaire/locallib.php questionnaire/locallib.php
      1107c1107
      < $pos = strpos($resp, 'other=');

      > $pos = strpos($resp, 'other_');
      1124c1124
      < $pos = strpos($resp, 'other=');

      > $pos = strpos($resp, 'other_');
      3067c3067

      Attachments

        Activity

          People

            mchurch Mike Churchward
            fsainsbu Frank Sainsbury
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.