Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28936

Private message popup does not limit number of characters to 200

    Details

      Description

      When sending a private message to a user greater than 200 characters, the code does not limit the number of characters appended by three dots (...). This is due to an incorrect syntax in the code.

      The code in lib/moodlelib.php implies that a substr() is used if the strlen() is greater than 200, but incorrect syntax forces this IF statement to always be false and therefore set the variable to display the full message.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11