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

apostrophe problem in Journal feedback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.19
    • Fix Version/s: None
    • Component/s: Module: Journal
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Apostrophe problem in Journal, teacher's feedback on students'entries. See discussion: http://moodle.org/mod/forum/discuss.php?d=53582
      In Moodle 1.6+

      In file \mod\journal\report.php, line 86 replace

      $entrybyuser[$entry->userid]->comment = $vals['c'];

      with
      $entrybyuser[$entry->userid]->comment = stripslashes($vals['c']);

      Joseph

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            rezeau Joseph Rézeau
            Participants:
            Component watchers:
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: