]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10296 adding in the global for https
authorjmg324 <jmg324>
Wed, 10 Oct 2007 16:02:45 +0000 (16:02 +0000)
committerjmg324 <jmg324>
Wed, 10 Oct 2007 16:02:45 +0000 (16:02 +0000)
lib/weblib.php

index 197f921eb0b605ebf7fabdf0bc8afb9dd4f99284..ecc8af12ab7d7ef0d0d66c252522da0b46dfaa50 100644 (file)
@@ -3805,7 +3805,7 @@ function print_file_picture($path, $courseid=0, $height='', $width='', $link='',
  * @todo Finish documenting this function
  */
 function print_user_picture($user, $courseid, $picture=NULL, $size=0, $return=false, $link=true, $target='', $alttext=true) {
-    global $CFG;
+    global $CFG, $HTTPSPAGEREQUIRED;
 
     $needrec = false;
     // only touch the DB if we are missing data...