From: skodak Date: Mon, 2 Apr 2007 13:16:55 +0000 (+0000) Subject: MDL-9169 Error in function call in ldap/enrol.php; typo found by Svante Agnestig... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b0efa7ec07ce653ea78791c69d0a5891d0f99066;p=moodle.git MDL-9169 Error in function call in ldap/enrol.php; typo found by Svante Agnestig; merged from MOODLE_18_STABLE --- diff --git a/enrol/ldap/enrol.php b/enrol/ldap/enrol.php index 45985446e5..8eea71c537 100755 --- a/enrol/ldap/enrol.php +++ b/enrol/ldap/enrol.php @@ -609,7 +609,7 @@ function create_course ($course_ext,$skip_fix_course_sortorder=0){ $course->timecreated = time(); $course->visible = 1; - $course = addsleashes_recursive($course); + $course = addslashes_recursive($course); // store it and log if ($newcourseid = insert_record("course", $course)) { // Set up new course