Moodle

You should use addslashes_js, not addslashes, when outputting JS code

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: SCORM
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

Dan Marsden asked me to file the bug, and assign it to you

Activity

Hide
Dan Marsden added a comment -

hehe - thanks Tim!

Show
Dan Marsden added a comment - hehe - thanks Tim!
Hide
Piers Harding added a comment -

switched to using addslashes_js everywhere

Show
Piers Harding added a comment - switched to using addslashes_js everywhere

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: