From: jmg324 Date: Wed, 10 Oct 2007 16:02:45 +0000 (+0000) Subject: MDL-10296 adding in the global for https X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=38a1e55d8aa827c94149543dab37bb10cc591596;p=moodle.git MDL-10296 adding in the global for https --- diff --git a/lib/weblib.php b/lib/weblib.php index 197f921eb0..ecc8af12ab 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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...