From: moodler Date: Mon, 30 Aug 2004 17:47:21 +0000 (+0000) Subject: Fixed an unquoted string (merged from stable) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3271b70ff3df9ce3c6dfa7321c12ff777cc77f6f;p=moodle.git Fixed an unquoted string (merged from stable) --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index b9ece2903f..44b1ccb3dc 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -728,7 +728,7 @@ function create_user_record($username, $password) { global $REMOTE_ADDR, $CFG; //just in case check text case $username = trim(moodle_strtolower($username)); - if (function_exists(auth_get_userinfo)) { + if (function_exists('auth_get_userinfo')) { if ($newinfo = auth_get_userinfo($username)) { foreach ($newinfo as $key => $value){ $newuser->$key = addslashes(stripslashes($value)); // Just in case