Skip to content
Browse files

SCORM MDL-18392 - remove old call to stripslashes

  • Loading branch information...
1 parent 454f5ae commit 3825bed0e84f133999ed86f7a85ca9bf5ab92839 @danmarsden danmarsden committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/aicc.php
View
2 mod/scorm/aicc.php
@@ -267,7 +267,7 @@
$value .= $datarow."\r\n";
next($datarows);
}
- $value = rawurlencode(stripslashes($value)); // TODO: this is probably wrong, the stripslashes() has undefined meaning now; was this related to JS quoting or magic quotes?
+ $value = rawurlencode($value);
$id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
}
}

0 comments on commit 3825bed

Please sign in to comment.
Something went wrong with that request. Please try again.